Constraint flake8 version

A month ago a flake8 3.6.0 version was released and it's been causing
pep8 check gate fail since then.
This patch
 * removes flake8 dependency from tox.ini file, because otherwise
   version defined in test-requirements.txt is not taken into account.
 * flake8==2.0 version is too old so the version is bumped, however, it's
   limited for versions < 3.6.0
 * pyflakes version needs to be bumped too otherwise it doesn't work
   with newer flake8 versions

Change-Id: I470d1e8ae69aff87dcc9bf9dfa988370efb2817d
This commit is contained in:
Martin Kopec 2018-11-20 09:11:39 +00:00
parent ab8ec0a485
commit 549cdc5ceb
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
pep8==1.4.5
pyflakes>=0.7.2,<0.7.4
flake8==2.0
pyflakes>=0.7.2,<0.8.1
flake8<3.6.0
docutils>=0.11 # OSI-Approved Open Source, Public Domain
stestr>=1.1.0 # Apache-2.0
testtools>=0.9.34

View File

@ -22,7 +22,6 @@ whitelist_externals =
distribute = false
[testenv:pep8]
deps = flake8
commands = flake8
distribute = false