diff options
author | Navid Pustchi <npustchi@gmail.com> | 2016-05-02 16:36:19 +0000 |
---|---|---|
committer | Navid Pustchi <npustchi@gmail.com> | 2016-05-02 16:36:19 +0000 |
commit | 212cb141b808e71cb09899797dc59345ec640da2 (patch) | |
tree | db5f00a878322ebce2ee1798e8bd75c638332706 | |
parent | a7b65bed8f36fe80eda4526ad24ef0cfee5d462c (diff) | |
download | python-keystoneclient-212cb141b808e71cb09899797dc59345ec640da2.tar.gz |
Fixing D211 PEP257 violation.
Currently tox ignores D211.
D211: No blank lines allowed before class docstring
This change removes D211 ignore and fix violations.
Change-Id: I79404110896ced7f79999b8c099e2a70b01ec968
-rw-r--r-- | keystoneclient/tests/unit/test_cms.py | 1 | ||||
-rw-r--r-- | keystoneclient/v3/role_assignments.py | 2 | ||||
-rw-r--r-- | tox.ini | 3 |
3 files changed, 1 insertions, 5 deletions
diff --git a/keystoneclient/tests/unit/test_cms.py b/keystoneclient/tests/unit/test_cms.py index dc1d0d1..11078ae 100644 --- a/keystoneclient/tests/unit/test_cms.py +++ b/keystoneclient/tests/unit/test_cms.py @@ -25,7 +25,6 @@ from keystoneclient.tests.unit import utils class CMSTest(utils.TestCase, testresources.ResourcedTestCase): - """Unit tests for the keystoneclient.common.cms module.""" resources = [('examples', client_fixtures.EXAMPLES_RESOURCE)] diff --git a/keystoneclient/v3/role_assignments.py b/keystoneclient/v3/role_assignments.py index edee0c9..71ae2c2 100644 --- a/keystoneclient/v3/role_assignments.py +++ b/keystoneclient/v3/role_assignments.py @@ -16,7 +16,6 @@ from keystoneclient.i18n import _ class RoleAssignment(base.Resource): - """Represents an Identity role assignment. Attributes: @@ -30,7 +29,6 @@ class RoleAssignment(base.Resource): class RoleAssignmentManager(base.CrudManager): - """Manager class for manipulating Identity roles assignments.""" resource_class = RoleAssignment collection_key = 'role_assignments' @@ -53,8 +53,7 @@ passenv = OS_* # D205: Blank line required between one-line summary and description. # D207: Docstring is under-indented # D208: Docstring is over-indented -# D211: No blank lines allowed before class docstring -ignore = D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D207,D208,D211 +ignore = D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D207,D208 show-source = True exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common* |