summaryrefslogtreecommitdiff
path: root/troveclient/compat
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar3@hp.com>2015-05-20 20:13:02 +0000
committerSushil Kumar <sushil.kumar3@hp.com>2015-05-26 08:58:51 +0000
commit025191af5068a853e527faeb826bd3fec40677ae (patch)
tree52673f01ece93d6c3581725e54ae0ad64ae91ae0 /troveclient/compat
parent82e05cb13a5cdd9c7a2accf07170eb26762d8879 (diff)
downloadpython-troveclient-025191af5068a853e527faeb826bd3fec40677ae.tar.gz
Fixes new hacking rules1.2.0
Updated the hacking version as per global-requirements. Fixed some of new appearing hacking rules, as listed follows: - E128 continuation line under-indented for visual indent - E265 block comment should start with '# ' - E713 test for membership should be 'not in' - H238 old style class declaration, use new style (inherit from `object`) Rules which are not yet fixed have been incorporated to ignorelist - H405 Multi line docstrings should start with a one line summary followed by an empty line - H501 Do not use locals() or self.__dict__ for formatting strings Change-Id: I885c6fa8ad0e6a98f7a8479f3441ed08ed2cbaa6
Diffstat (limited to 'troveclient/compat')
-rw-r--r--troveclient/compat/tests/test_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/troveclient/compat/tests/test_common.py b/troveclient/compat/tests/test_common.py
index b6105f0..39517b5 100644
--- a/troveclient/compat/tests/test_common.py
+++ b/troveclient/compat/tests/test_common.py
@@ -40,7 +40,7 @@ class CommonTest(testtools.TestCase):
sys.exit = self.orig_sys_exit
def test_methods_of(self):
- class DummyClass:
+ class DummyClass(object):
def dummyMethod(self):
print("just for test")