From cc1118057fad80e7a5742a2401179d035616683a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 1 Apr 2020 10:11:20 +0200 Subject: [PATCH] Update hacking for Python3 The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I5d2ab99725e97437b8dc3dc805c79b4a14610d6c --- test-requirements.txt | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 770c57d..d038d93 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1 @@ -hacking<0.11,>=0.10.0 +hacking>=3.0,<3.1.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 7db73dc..a07471c 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,7 @@ commands = {posargs} [flake8] # E125 and H are intentionally ignored -ignore = E125,H +# W504 line break after binary operator +ignore = E125,H,W504 show-source = True exclude = .venv,.tox,dist,doc,build,*.egg