diff options
author | Navid Pustchi <npustchi@gmail.com> | 2016-05-03 18:08:31 +0000 |
---|---|---|
committer | Navid Pustchi <npustchi@gmail.com> | 2016-05-04 19:30:03 +0000 |
commit | a9adca02dbdbf786dd7015f4d3c67c514d757423 (patch) | |
tree | 75ba605bba406d61de5967f49f6b50c5d35b16ec /keystoneclient/v2_0/users.py | |
parent | e9471bdf4cb96816ff551cde6b6fdc1e9cb00d3e (diff) | |
download | python-keystoneclient-a9adca02dbdbf786dd7015f4d3c67c514d757423.tar.gz |
Fixing D204, D205, and D207 PEP257 violation.
Currently tox ignores D204, D205, and D207.
D204: 1 blank required after class docstring.
D205: Blank line required between one-line summary and description.
D207: Docstring is under-indented.
This change removes D204, D205, and D207 ignores in tox and fix violations.
Change-Id: Id20d216fbd7647d468859b960088aac61c582d9b
Diffstat (limited to 'keystoneclient/v2_0/users.py')
-rw-r--r-- | keystoneclient/v2_0/users.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystoneclient/v2_0/users.py b/keystoneclient/v2_0/users.py index e62c244..77f24f3 100644 --- a/keystoneclient/v2_0/users.py +++ b/keystoneclient/v2_0/users.py @@ -21,6 +21,7 @@ from keystoneclient import base class User(base.Resource): """Represents a Keystone user.""" + def __repr__(self): return "<User %s>" % self._info @@ -33,6 +34,7 @@ class User(base.Resource): class UserManager(base.ManagerWithFind): """Manager class for manipulating Keystone users.""" + resource_class = User def __init__(self, client, role_manager): |