Skip to content

Commit

Permalink
Add fix-style tox environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed May 24, 2020
1 parent 63cdaab commit 8984377
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,14 @@ commands =
black --check .
flake8 setup.py tests/ vulture/
bash -c "pyupgrade `find dev/ tests/ vulture/ -name '*.py'` setup.py"

[testenv:fix-style]
basepython = python3
deps =
black
pyupgrade
whitelist_externals =
bash
commands =
black .
bash -c "pyupgrade `find dev/ tests/ vulture/ -name '*.py'` setup.py"

0 comments on commit 8984377

Please sign in to comment.