summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-27 19:03:17 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2020-03-30 12:00:32 +0000
commite7908d07f909b793ca541c81e4e749bc2bad22eb (patch)
tree9450bac8245c724563a295705093fd37cb18882f
parent72bcead897d6c55c0c5af944bcb30e070c456ec1 (diff)
downloadoslo-i18n-e7908d07f909b793ca541c81e4e749bc2bad22eb.tar.gz
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
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index d4fab97..efc469b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -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
stestr>=2.0.0 # Apache-2.0
mock>=2.0.0 # BSD
diff --git a/tox.ini b/tox.ini
index 3bbe0a1..ac450ab 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,7 +47,7 @@ commands =
# E731 skipped as assign a lambda expression
show-source = True
-ignore = E123,E125,E731
+ignore = E123,E125,E731,W504
# H106: Don’t put vim configuration in source files
# H203: Use assertIs(Not)None to check for None