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:
Clint Byrum 2013-10-15 08:22:01 -07:00
parent 95e1b2b2c9
commit 4a7913d2f1

View File

@ -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