Only install hacking in pep8

There is no need to install all test requirements when we only do
pep8 check.

Change-Id: I7300ccd71e6ec800a9483d7390847de77271fab5
This commit is contained in:
ZhiQiang Fan 2016-05-13 05:33:29 +08:00
parent 6d0a33b0d3
commit 920e91f836
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<0.12,>=0.11.0
coverage>=3.6
discover
python-subunit>=0.0.18

View File

@ -16,6 +16,7 @@ deps = -r{toxinidir}/requirements.txt
commands = pifpaf run aodh --gnocchi-create-legacy-resource-types -- python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
deps = hacking<0.12,>=0.11.0
commands = flake8
[testenv:venv]