Update tox to run pep8 by default.

This commit is contained in:
Douglas Mendizabal 2013-08-29 15:57:24 -05:00
parent 7e780a174a
commit 1b9f56fde2
2 changed files with 5 additions and 2 deletions

3
tools/hacking.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
flake8 barbicanclient | tee flake8.log
exit ${PIPESTATUS[0]}

View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = py26, py27
envlist = py26, py27, pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
@ -18,7 +18,7 @@ deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
[testenv:pep8]
commands = flake8
commands = {toxinidir}/tools/hacking.sh
[testenv:venv]
commands = {posargs}