Fix D402: First line should not be the function's "signature" (PEP257)
In this one violation, the method's signature simply shouldn't be copied into the docstring because it's redundant. No other PEP257 violations were addressed here. Change-Id: I957c2abf7c713a59dd5327a8fe4f06066d857abd
This commit is contained in:
3
tox.ini
3
tox.ini
@@ -110,8 +110,7 @@ show-source = true
|
||||
# D300: Use """triple double quotes"""
|
||||
# D400: First line should end with a period.
|
||||
# D401: First line should be in imperative mood.
|
||||
# D402: line should not be the function's "signature".
|
||||
ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D210,D300,D400,D401,D402
|
||||
ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D210,D300,D400,D401
|
||||
|
||||
exclude=.venv,.git,.tox,build,dist,doc,*openstack/common*,*lib/python*,*egg,tools,vendor,.update-venv,*.ini,*.po,*.pot
|
||||
max-complexity=24
|
||||
|
||||
Reference in New Issue
Block a user