diff --git a/keystone/tests/unit/test_v3_oauth1.py b/keystone/tests/unit/test_v3_oauth1.py index 3a0d481c9c..cb28bf69de 100644 --- a/keystone/tests/unit/test_v3_oauth1.py +++ b/keystone/tests/unit/test_v3_oauth1.py @@ -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') diff --git a/tox.ini b/tox.ini index 470c75fe61..e15dfd365c 100644 --- a/tox.ini +++ b/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