Browse Source

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
tags/2.3.0
Andreas Jaeger 3 months ago
committed by Andreas Jaeger
parent
commit
fd5a13bc6a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      test-requirements.txt
  2. +1
    -1
      tox.ini

+ 1
- 1
test-requirements.txt View File

@@ -1,7 +1,7 @@
# 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
# 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
oslotest>=3.2.0 # Apache-2.0
pifpaf>=0.10.0 # Apache-2.0


+ 1
- 1
tox.ini View File

@@ -50,7 +50,7 @@ commands =

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



Loading…
Cancel
Save