Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which supports Python 3. Fix problems found. Change-Id: I4418c77b622f0a0f2f729b957cceb577d20f30d9
This commit is contained in:
parent
b15f68e52d
commit
c889b33ecc
|
@ -1,7 +1,7 @@
|
||||||
# The order of packages is significant, because pip processes them in the order
|
# The order of packages is significant, because pip processes them in the order
|
||||||
# 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
|
||||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -47,7 +47,9 @@ commands =
|
||||||
# E123 skipped because it is ignored by default in the default pep8
|
# E123 skipped because it is ignored by default in the default pep8
|
||||||
# E129 skipped because it is too limiting when combined with other rules
|
# E129 skipped because it is too limiting when combined with other rules
|
||||||
# Skipped because of new hacking 0.9: H405
|
# Skipped because of new hacking 0.9: H405
|
||||||
ignore = E125,E123,E129,H404,H405
|
# W504 line break after binary operator
|
||||||
|
# E731 do not assign a lambda expression, use a def
|
||||||
|
ignore = E125,E123,E129,H404,H405,W504, E731
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .git,.venv,.tox,dist,doc,openstack,*egg
|
exclude = .git,.venv,.tox,dist,doc,openstack,*egg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue