Merge "Enable hacking H301 check"
This commit is contained in:
commit
ef95d3e937
3
tox.ini
3
tox.ini
@ -41,10 +41,9 @@ commands = {posargs}
|
|||||||
# E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:'
|
# E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:'
|
||||||
# query = query.filter(Component.disabled == False)
|
# query = query.filter(Component.disabled == False)
|
||||||
# E125 continuation line does not distinguish itself from next logical line
|
# E125 continuation line does not distinguish itself from next logical line
|
||||||
# H301 one import per line
|
|
||||||
# H302 import only modules
|
# H302 import only modules
|
||||||
# TODO(marun) H404 multi line docstring should start with a summary
|
# TODO(marun) H404 multi line docstring should start with a summary
|
||||||
ignore = E711,E712,E125,H301,H302,H404
|
ignore = E711,E712,E125,H302,H404
|
||||||
show-source = true
|
show-source = true
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
||||||
|
Loading…
Reference in New Issue
Block a user