Update hacking

Update hacking to latest version to catch Python 3 problems.

The existing entries in flake8 ignore are dropped
as they are unnecessary.

Change-Id: I8e268f3852ad7acf4805f8ef7e4cbe25a90054a0
This commit is contained in:
Andreas Jaeger 2020-03-28 12:13:24 +01:00 committed by Akihiro Motoki
parent 730608b8fb
commit ecc60ca980
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
hacking>=2.0,<2.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
oslosphinx>=4.7.0 # Apache-2.0

View File

@ -39,9 +39,10 @@ basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,E129,H404,H405
# W504 line break after binary operator
# (W503 and W504 are incompatible and we need to choose one of them.
# Existing codes follows W503, so we disable W504.)
ignore = W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build