Merge "Fix D210: No whitespaces allowed surrounding docstring text (PEP257)"
This commit is contained in:
@@ -874,7 +874,7 @@ class OAuthNotificationTests(OAuth1Tests,
|
||||
class OAuthCADFNotificationTests(OAuthNotificationTests):
|
||||
|
||||
def setUp(self):
|
||||
"""Repeat the tests for CADF notifications """
|
||||
"""Repeat the tests for CADF notifications."""
|
||||
super(OAuthCADFNotificationTests, self).setUp()
|
||||
self.config_fixture.config(notification_format='cadf')
|
||||
|
||||
|
||||
3
tox.ini
3
tox.ini
@@ -114,10 +114,9 @@ show-source = true
|
||||
# D203: 1 blank required before class docstring.
|
||||
# D204: 1 blank required after class docstring
|
||||
# D205: Blank line required between one-line summary and description.
|
||||
# D210: No whitespaces allowed surrounding docstring text
|
||||
# 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,D400,D401
|
||||
ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,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