From b93610d0e3a163061de7a62e808ece41cd621589 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 28 Mar 2020 12:11:32 +0100 Subject: [PATCH] Update hacking for Python3 The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Ignore W504 line break after binary operator Change-Id: Ice5627d714bad308bcf2e467a553d2d2297ea337 --- 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 84781a0..24bf608 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,6 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking<0.11,>=0.10.0 +hacking>=3.0,<3.1.0 # Apache-2.0 oslotest>=1.5.1 stestr>=2.0.0 diff --git a/tox.ini b/tox.ini index f126c3d..d47c6b7 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ commands = # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125 +ignore = E123,E125,W504 builtins = _ exclude=.venv,.git,.tox,dist,doc,releasenotes,*lib/python*,*egg,build