aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-04-01 19:47:23 +0200
committerAndreas Jaeger <aj@suse.com>2020-04-01 21:42:41 +0200
commit1456d8b6f9f86d974459685091f143f0a0b4b345 (patch)
tree9354c6ff0913063d4800ee564b01b4976ef94a82 /tox.ini
parent69f74554671a49c75bebeeed9d83816ffbd7efec (diff)
downloadkolla-1456d8b6f9f86d974459685091f143f0a0b4b345.tar.gz
kolla-1456d8b6f9f86d974459685091f143f0a0b4b345.zip
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Update local hacking checks for new flake8. Remove hacking and friends from lower-constraints, they are not needed in installations. Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 09b93e82a..d94bd279e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -192,8 +192,12 @@ show-source = True
enable-extensions = H203,H106
exclude=.eggs,.git,.tox,doc
-[hacking]
-local-check-factory = kolla.hacking.checks.factory
+[flake8:local-plugins]
+extension =
+ D703 = checks:check_explicit_underscore_import
+ K301 = checks:no_mutable_default_args
+ K302 = checks:no_log_warn
+paths = ./kolla/hacking
[testenv:lower-constraints]
deps =