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
This commit is contained in:
Dirk Mueller 2017-10-24 15:25:59 +02:00
parent 9928784a96
commit 32d058382d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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]