Remove flake8 from the test-requirements

flake8 is a linter so we don't need to pull in for the unit
tests or other tox environments.

Also update to the newer flake8 2.6.x which is the version
chosen by current hacking release (which causes no fallout so should be fine).
Also this is the first version that is compatible being run
under python 3.6/7.

Change-Id: I54f99e7e29c7b3727db98bdaf8bc168da3890a1d
This commit is contained in:
Dirk Mueller 2018-08-20 12:02:08 +02:00
parent 34a010e168
commit a7706ca345
2 changed files with 2 additions and 3 deletions

View File

@ -3,9 +3,6 @@
# process, which may cause wedges in the gate later.
# this file lists dependencies required for the testing of heat
# Install flake8 first, it pulls in the right linter versions
flake8<2.6.0,>=2.5.4 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0

View File

@ -16,6 +16,8 @@ commands = python setup.py build_sphinx
[testenv:pep8]
basepython = python3
deps =
flake8<2.7.0,>=2.6.0
commands = flake8
[testenv:venv]