From 0a0c99a42aacf3fbdf25a7b9fafc826103d986b0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 27 Mar 2020 19:05:15 +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: I8bca364fdc4c09cbd34127de10fa31da47078b4f --- 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 44c2ac9..4ccbbe1 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>=3.0,<3.1.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index 216edd0..2d9c718 100644 --- a/tox.ini +++ b/tox.ini @@ -44,7 +44,7 @@ commands = [flake8] show-source = True -ignore = H405 +ignore = H405,W504 exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build [hacking]