From 32d058382dc6af3cfb775e4c2c89def7a197ae5b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2017 15:25:59 +0200 Subject: [PATCH] Use a recent hacking version Listing hacking in test-requirements is deprecated, as it is a blacklisted linter and the global requirements update bot wouldn't update it anyway. Instead use it just as a dep on the pep8 tox env. Change-Id: Idb4bcd8e4ffe1738a7306f9e1e5530b7e1e8dc8f --- test-requirements.txt | 1 - tox.ini | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 3c650d0c55..cedc636da3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,6 @@ # process, which may cause wedges in the gate later. # NOTE: These are requirements for testing the requirements project only # See global-requirements for the actual requirements list -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=1.4.0 # MIT diff --git a/tox.ini b/tox.ini index 0a5160edad..de23033ae0 100644 --- a/tox.ini +++ b/tox.ini @@ -40,6 +40,8 @@ commands = validate-constraints {toxinidir}/global-requirements.txt {toxinidir}/ commands = validate-projects {toxinidir}/projects.txt [testenv:pep8] +deps = hacking>=1.0.0 +basepython = python3 commands = flake8 [testenv:bashate]