Update hacking for Python3

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

Blacklist:
- W504 line break after binary operator
- /oslo_cache/__init__.py:17:1: F405 'get_memoization_decorator' may be
  undefined, or defined from star imports: oslo_cache.core

Change-Id: I05bcd79e2af259df7642bf759e0e5007c2b1a34c
This commit is contained in:
Andreas Jaeger 2020-03-27 19:05:04 +01:00 committed by Andreas Jaeger
parent c79cae4b3b
commit fd5a13bc6a
2 changed files with 2 additions and 2 deletions

View File

@ -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>=1.1.0,<1.2.0 # Apache-2.0 hacking>=3.0,<3.1.0 # Apache-2.0
mock>=2.0.0 # BSD mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
pifpaf>=0.10.0 # Apache-2.0 pifpaf>=0.10.0 # Apache-2.0

View File

@ -50,7 +50,7 @@ commands =
[flake8] [flake8]
show-source = True show-source = True
ignore = H405 ignore = H405,W504,F405
builtins = _ builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build