Cap pycodestyle explicitly to be < 2.6.0

The 2.6.0 version introduces some checks that cause failures
with the current code. hacking and flake8 cap could have solve
the pycodestyle compatible version but flake8-import-order which
does not cap the pycodestyle pulled its latest version and break
things.

Also remove the flake8 from test-requirements and let hacking
handle the flake8 version otherwise ironic will still pull the
latest flake8 which can break things in future.

To make it work, we need to explicitly cap pycodestyle itself
so that no other package pull the new checks in.

Change-Id: Ia4b6f5aa8fe45d08a1563160e585947f35501ef2
This commit is contained in:
Ghanshyam Mann 2020-05-12 09:23:42 -05:00
parent 855986c024
commit 774bc9264b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ psycopg2>=2.7.3 # LGPL/ZPL
testtools>=2.2.0 # MIT
WebTest>=2.0.27 # MIT
bashate>=0.5.1 # Apache-2.0
flake8>=3.7.0 # MIT
pycodestyle>=2.0.0,<2.6.0 # MIT
flake8-import-order>=0.17.1 # LGPLv3
Pygments>=2.2.0 # BSD
bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0