summaryrefslogtreecommitdiff
path: root/troveclient/exceptions.py
diff options
context:
space:
mode:
authorDirk Mueller <dirk@dmllr.de>2013-12-14 12:12:43 +0100
committerDirk Mueller <dirk@dmllr.de>2013-12-18 14:08:37 +0100
commitd4a62491e177b06ee9796fea5708792fb2152e9f (patch)
treee18599f4856496341f37bcbb90fac593f065c559 /troveclient/exceptions.py
parent30587ea4485e1f12c8116e7f3b26a08e3054409b (diff)
downloadpython-troveclient-d4a62491e177b06ee9796fea5708792fb2152e9f.tar.gz
Tighten flake8 checks in Gating
There are a few checks that already pass: - F401 - unused imports of modules - F403 - ‘from module import *’ used; unable to detect undefined names And there are two (H401 and H403) that can be made passing easily. Enable gating on all of them. Change-Id: I9d3c49ecea1b2171d194ab6cc751316c252081e8
Diffstat (limited to 'troveclient/exceptions.py')
-rw-r--r--troveclient/exceptions.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/troveclient/exceptions.py b/troveclient/exceptions.py
index 23db77e..5cfd235 100644
--- a/troveclient/exceptions.py
+++ b/troveclient/exceptions.py
@@ -20,7 +20,8 @@
class UnsupportedVersion(Exception):
"""Indicates that the user is trying to use an unsupported
- version of the API"""
+ version of the API.
+ """
pass
@@ -38,7 +39,8 @@ class NoUniqueMatch(Exception):
class NoTokenLookupException(Exception):
"""This form of authentication does not support looking up
- endpoints from an existing token."""
+ endpoints from an existing token.
+ """
pass