Enable H304 pep8 test in tacker code
H304 no relative imports Change-Id: I9314c12c78816220d47f8d50c0488c38cfe4b0da Related-Bug: 1515930
This commit is contained in:
parent
cfec95b4ec
commit
aa8f5d3e57
3
tox.ini
3
tox.ini
@ -72,12 +72,11 @@ commands = {posargs}
|
||||
# H104 file contains nothing but comments
|
||||
# H237 module is removed in Python 3
|
||||
# H302 import only modules
|
||||
# H304 no relative imports
|
||||
# H402 one line docstring needs punctuation
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
# TODO(marun) H404 multi line docstring should start with a summary
|
||||
ignore = E125,E126,E128,E129,E251,E265,E713,F402,F811,F812,H237,H302,H304,H402,H404,H405,H904
|
||||
ignore = E125,E126,E128,E129,E251,E265,E713,F402,F811,F812,H237,H302,H402,H404,H405,H904
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject
|
||||
|
Loading…
Reference in New Issue
Block a user