From 5a0dab766e52214ef1ea12eb99acca0b4cf45860 Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Fri, 13 May 2016 05:19:16 +0800 Subject: Only install hacking in pep8 There is no need to install all test requirements when we only do pep8 check. Change-Id: I12ecd682c38ac700cc9bd5395ef5d92e87c4acca --- test-requirements.txt | 1 - tox.ini | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index fe96d84..156a955 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +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 coverage>=3.6 # Apache-2.0 discover # BSD fixtures<2.0,>=1.3.1 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index b1d83cf..40777e8 100644 --- a/tox.ini +++ b/tox.ini @@ -13,6 +13,7 @@ commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] +deps = hacking<0.11,>=0.10.0 commands = flake8 [testenv:cover] -- cgit v1.2.1