Update hacking for Python3

The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: Ib598d6c80dc8665ee8b583f3a2238a14b0b5c04a
This commit is contained in:
Andreas Jaeger 2020-04-02 08:25:45 +02:00
parent b8917d33ee
commit 3c512e6814
2 changed files with 3 additions and 3 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>=1.1.0,<1.2.0 # Apache-2.0
hacking>=3.0,<3.1.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD

View File

@ -46,8 +46,8 @@ commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# E731 skipped as assign a lambda expression
# W504 line break after binary operator
show-source = True
ignore = E123,E125,E731
ignore = E123,E125,E731,W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build