tox: only install hacking in pep8 target

Change-Id: Ie8605df90652d04483e8184cd3bc1dabd24ceb63
This commit is contained in:
Julien Danjou 2016-05-03 00:17:24 +02:00
parent 848dcce175
commit 72cc3185b0
2 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,6 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8
hacking<0.11,>=0.10.0
contextlib2>=0.4.0 # PSF License
coverage>=3.6 # Apache-2.0
elasticsearch<2.0,>=1.3.0 # Apache-2.0

View File

@ -75,6 +75,7 @@ commands =
python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:pep8]
deps = hacking<0.11,>=0.10.0
commands =
flake8
# Check that .po and .pot files are valid: