Disable H302 check for importing modules only
This check is not one that really helps readability much, and usually it hurts readability. In particular it makes using the six library more difficult as some things that would normally be modules are just classes now, but are used in exactly the same way. Change-Id: I4609f8b82aff396bd907c32121d6e74f60be55f3
This commit is contained in:
parent
95e1b2b2c9
commit
4a7913d2f1
4
tox.ini
4
tox.ini
@ -29,7 +29,9 @@ commands = coverage erase
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
# H302 - ignored because it interferes more than it helps, and uses
|
||||
# suspect methods in its implementation anyway.
|
||||
[flake8]
|
||||
ignore =
|
||||
ignore = H302
|
||||
show-source = True
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user