Skip to content

Commit

Permalink
update tox/travis to use black
Browse files Browse the repository at this point in the history
  • Loading branch information
Um9i committed Jul 25, 2019
1 parent ad61f75 commit f33c68e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ matrix:
- python: pypy
env: TOX_ENV=pypy
- python: 3.6
env: TOX_ENV=flake8
env: TOX_ENV=black

install:
- pip install tox
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist = py27,py34,py35,py36,pypy,flake8
envlist = py27,py34,py35,py36,pypy,black

[testenv]
deps = pytest
commands = pytest {posargs:tests}

[testenv:flake8]
[testenv:black]
skip_install = true
deps = flake8
commands = flake8 poyo setup.py tests
deps = black==19.3b0
commands = black .

0 comments on commit f33c68e

Please sign in to comment.