Skip to content

Commit

Permalink
add optional autopep8 env to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Sep 18, 2017
1 parent f6bf510 commit 7cf3bf9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,18 @@ deps =
commands =
isort --apply --recursive {toxinidir}/src {toxinidir}/tests {posargs}

[testenv:autopep8]
basepython = python2.7
skip_install = true
debs =
-cconstraints.txt
autopep8
docformatter

commands =
autopep8 --verbose --in-place --recursive --aggressive --agressive {toxinidir}/bobtemplates setup.py
docformatter --verbose --in-place --recursive {toxinidir}/bobtemplates setup.py

[lint]
skip_install = true

Expand Down

0 comments on commit 7cf3bf9

Please sign in to comment.