From 009fd6c7035ad96b125b041c147030e8596e22a2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 27 Mar 2020 19:13:57 +0100 Subject: [PATCH] Update hacking for Python3 The repo is Python 3 now, so update hacking to version 2.0 which supports Python 3. Blacklist: W504 line break after binary operator Change-Id: I7ca780a2cff32031c562482b804888e5d49712c1 --- 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 838e1e7..e8b58bf 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # 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>=2.0,<2.1 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 73eaeb1..2b8e442 100644 --- a/tox.ini +++ b/tox.ini @@ -47,7 +47,7 @@ commands = [flake8] show-source = True -ignore = +ignore = W504 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build