summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-27 19:45:11 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2020-03-30 11:56:00 +0000
commit724f36bd3e6573329531f222d7fbe2f51f971da8 (patch)
treebacddd93b1ce005fc649cb4222fcb908a9ba0e66 /tox.ini
parenta7fd12bb19530a95334935479a6e56754ae0d8e8 (diff)
downloadoslo-vmware-724f36bd3e6573329531f222d7fbe2f51f971da8.tar.gz
Update hacking for Python33.3.0
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix: F601 dictionary key 'cr_to_rp' repeated with different values F841 local variable 'excep' is assigned to but never used F821 undefined name 'excep' E305 expected 2 blank lines after class or function definition, found 1 E731 do not assign a lambda expression, use a def Blacklist: W504 line break after binary operator Update hacking extension for newer flake8 version. Change-Id: I9f0d7b166e285091111c42fe978d29d7dd3bf5db
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 b13d3f8..5fc2f94 100644
--- a/tox.ini
+++ b/tox.ini
@@ -44,14 +44,18 @@ commands = {posargs}
[flake8]
show-source = True
-ignore = H405
+ignore = H405,W504
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]
import_exceptions =
oslo_vmware.tests.base
tests.base
-local-check-factory = oslo_vmware.hacking.checks.factory
+
+[flake8:local-plugins]
+extension =
+ N537 = checks:no_translate_logs
+paths = ./oslo_vmware/hacking
[testenv:releasenotes]
whitelist_externals = rm