From 920e91f83669fd7a8d4164a2cf2de7b3760f3447 Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Fri, 13 May 2016 05:33:29 +0800 Subject: [PATCH] Only install hacking in pep8 There is no need to install all test requirements when we only do pep8 check. Change-Id: I7300ccd71e6ec800a9483d7390847de77271fab5 --- test-requirements.txt | 2 -- tox.ini | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 229fcc2..6708649 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 diff --git a/tox.ini b/tox.ini index a0fb94c..2e44e10 100644 --- a/tox.ini +++ b/tox.ini @@ -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]