From 72cc3185b0d58c1a2946e59eb157c5f7a3677455 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 3 May 2016 00:17:24 +0200 Subject: [PATCH] tox: only install hacking in pep8 target Change-Id: Ie8605df90652d04483e8184cd3bc1dabd24ceb63 --- 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 14840160..53c5ea69 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 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 diff --git a/tox.ini b/tox.ini index 2f58d6ba..b8439703 100644 --- a/tox.ini +++ b/tox.ini @@ -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: