Fix D300: Use """triple double quotes""" (PEP257)
No other PEP257 violations were addressed here. Change-Id: I2d7b2b1feb3cb783b0aec8f85cb6efde81684579
This commit is contained in:
@@ -1804,7 +1804,7 @@ class RoleAssignmentBaseTestCase(test_v3.RestfulTestCase,
|
||||
|
||||
"""
|
||||
def create_project_hierarchy(parent_id, depth):
|
||||
"Creates a random project hierarchy."
|
||||
"""Creates a random project hierarchy."""
|
||||
if depth == 0:
|
||||
return
|
||||
|
||||
|
||||
3
tox.ini
3
tox.ini
@@ -107,10 +107,9 @@ show-source = true
|
||||
# D204: 1 blank required after class docstring
|
||||
# D205: Blank line required between one-line summary and description.
|
||||
# D210: No whitespaces allowed surrounding docstring text
|
||||
# D300: Use """triple double quotes"""
|
||||
# D400: First line should end with a period.
|
||||
# D401: First line should be in imperative mood.
|
||||
ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D210,D300,D400,D401
|
||||
ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D210,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