diff options
author | Kaitlin Farr <kaitlin.farr@jhuapl.edu> | 2017-03-29 13:29:23 -0400 |
---|---|---|
committer | Kaitlin Farr <kaitlin.farr@jhuapl.edu> | 2017-03-29 13:31:39 -0400 |
commit | 15bba221e9b343d79c6d50e9b9d264af402898cf (patch) | |
tree | c4d93b3740055410010334b2cd929a454015f86b /barbicanclient/base.py | |
parent | f008a7b0c1124a289ff0c36eb5a816f221a32b35 (diff) | |
download | python-barbicanclient-15bba221e9b343d79c6d50e9b9d264af402898cf.tar.gz |
Enable F and H flake8 rules
Flake8 was configured to ignore F and H rules, which are the PyFlakes
rules and OpenStack hacking rules.
H202 (tests for the too-general Exception used with assertRaises) is
still ignored because some code actually throws a generic Exception
and so the unit test must check that Exception is raised.
Change-Id: I4c4b67631547cd2db784936287355968a6d3b6c7
Diffstat (limited to 'barbicanclient/base.py')
-rw-r--r-- | barbicanclient/base.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/barbicanclient/base.py b/barbicanclient/base.py index 738526b..9bfcc98 100644 --- a/barbicanclient/base.py +++ b/barbicanclient/base.py @@ -57,9 +57,7 @@ class BaseEntityManager(object): self._entity = entity def total(self): - """ - Returns the total number of entities stored in Barbican. - """ + """Returns the total number of entities stored in Barbican.""" params = {'limit': 0, 'offset': 0} resp = self._api.get(self._entity, params=params) |