Merge "Fix D210: No whitespaces allowed surrounding docstring text (PEP257)"

This commit is contained in:
Jenkins
2015-10-23 20:53:57 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 3 deletions

View File

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

View File

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