Tox now also runs PEP8 on test code

Change-Id: I3bc67522d303ab2e4fbe960c05bf536e72c5ffe6
This commit is contained in:
Tim Kelsey 2015-02-17 21:31:56 +00:00
parent 89eed98e64
commit 7954b8a742
1 changed files with 3 additions and 2 deletions

View File

@ -10,19 +10,20 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
commands =
python setup.py testr --coverage --slowest --testr-args='{posargs}'
coverage combine
coverage report -m
[testenv:pep8]
commands = flake8 {posargs} anchor
flake8 {posargs} tests
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands =
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage combine
coverage xml