Enable H302 check
H302 import only modules Change-Id: I72ed1698919984e7e5c6f118e6cdcbc0f7274bef
This commit is contained in:
parent
39f6844826
commit
de35bc9cf7
3
tox.ini
3
tox.ini
|
@ -40,7 +40,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
# H404 multi line docstring should start with a summary
|
||||
# H302 import only modules.
|
||||
# H231 Python 3.x incompatible
|
||||
# E122 continuation line missing indentation or outdented
|
||||
# E113 unexpected indentation
|
||||
|
@ -50,6 +49,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||
|
||||
|
||||
show-source = True
|
||||
ignore = E125,E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H402,H404,H405,H904,H302,H231,E122,E113,H301,H233,E112
|
||||
ignore = E125,E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H402,H404,H405,H904,H231,E122,E113,H301,H233,E112
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*thirdparty/*,CongressLexer.py,CongressParser.py
|
||||
|
|
Loading…
Reference in New Issue