Fix E265, E129, E113 errors in tackerclient code

This Patch fixes all E265, E129, E113 errors and enables this test for all new patches to tacker.
[E265] block comment should start with '# '
[E129] visually indented line with same indent as next logical line
[E113] unexpected indentation

Change-Id: I708dd9e0c4f3edb0b52a865578aceace726d1c2e
Related-Bug: 1516045
This commit is contained in:
Martin Oemke
2015-12-18 15:44:30 +01:00
parent d224c22a46
commit 196ba01bac
3 changed files with 6 additions and 9 deletions

View File

@@ -29,10 +29,7 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
# H302 import only modules # H302 import only modules
# H105 Don't use author tags # H105 Don't use author tags
# H405 multi line docstring summary not separated with an empty line # H405 multi line docstring summary not separated with an empty line
# E265 block comment should start with '# '
# H238 old style class declaration, use new style (inherit from `object`) # H238 old style class declaration, use new style (inherit from `object`)
# E129 visually indented line with same indent as next logical line ignore = E125,H302,H105,H405,H238
# E113 unexpected indentation
ignore = E125,H302,H105,H405,E265,H238,E129,E113
show-source = true show-source = true
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools