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:
Dolph Mathews
2015-10-01 11:42:49 +00:00
parent bf08563778
commit 5a66410afc
2 changed files with 2 additions and 3 deletions

View File

@@ -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