diff options
author | Andreas Jaeger <aj@suse.com> | 2020-03-27 19:45:11 +0100 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2020-03-30 11:56:00 +0000 |
commit | 724f36bd3e6573329531f222d7fbe2f51f971da8 (patch) | |
tree | bacddd93b1ce005fc649cb4222fcb908a9ba0e66 /tox.ini | |
parent | a7fd12bb19530a95334935479a6e56754ae0d8e8 (diff) | |
download | oslo-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.ini | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |