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:
parent
730608b8fb
commit
ecc60ca980
|
@ -2,7 +2,7 @@
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# 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
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
oslosphinx>=4.7.0 # Apache-2.0
|
oslosphinx>=4.7.0 # Apache-2.0
|
||||||
|
|
7
tox.ini
7
tox.ini
|
@ -39,9 +39,10 @@ basepython = python3
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E123, E125 skipped as they are invalid PEP-8.
|
|
||||||
|
|
||||||
show-source = True
|
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 = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
|
Loading…
Reference in New Issue