Turn on Hacking H401, H403 check
This patch follows the change in swift[1], which turns on hacking rules generally considered in OpenStack projects. [1] https://review.openstack.org/#/c/416679/ Change-Id: I910a7ece5030347ca88e91164f81a41dbfa7dff2
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -81,11 +81,9 @@ passenv =
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
# H301: one import per line
|
||||
# H306: imports not in alphabetical order (time, os)
|
||||
# H401: docstring should not start with a space
|
||||
# H403: multi line docstrings should end on a new line
|
||||
# H404: multi line docstring should start without a leading new line
|
||||
# H405: multi line docstring summary not separated with an empty line
|
||||
ignore = E123,E125,H301,H306,H401,H403,H404,H405
|
||||
ignore = E123,E125,H301,H306,H404,H405
|
||||
show-source = True
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
||||
Reference in New Issue
Block a user