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

Change-Id: I8081a5f723c6b9fda65d72567fa1514f760c47da
This commit is contained in:
Andreas Jaeger 2020-03-27 19:03:17 +01:00 committed by Andreas Jaeger
parent 72bcead897
commit e7908d07f9
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
stestr>=2.0.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0
mock>=2.0.0 # BSD mock>=2.0.0 # BSD

View File

@ -47,7 +47,7 @@ commands =
# E731 skipped as assign a lambda expression # E731 skipped as assign a lambda expression
show-source = True show-source = True
ignore = E123,E125,E731 ignore = E123,E125,E731,W504
# H106: Dont put vim configuration in source files # H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None # H203: Use assertIs(Not)None to check for None