From e7908d07f909b793ca541c81e4e749bc2bad22eb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 27 Mar 2020 19:03:17 +0100 Subject: [PATCH] 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 --- test-requirements.txt | 2 +- tox.ini | 2 +- 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