Fix style error E111
E111: Indentation is not a multiple of four Change-Id: I3efe69f18f0aa5dcfe2a3a6d1b21f8efcbb8eb67 Implements: blueprint new-hacking-style-rules
This commit is contained in:
parent
359a18be69
commit
9098eac372
@ -39,7 +39,7 @@ class AgentAPI(object):
|
||||
target = messaging.Target(topic=topic, version=self.RPC_API_VERSION)
|
||||
self.client = rpc.get_client(target, version_cap='1.0')
|
||||
|
||||
# Server Methods
|
||||
# Server Methods
|
||||
def create_server(self, context, server, host=None):
|
||||
cctxt = self.client.prepare(server=host)
|
||||
|
||||
|
3
tox.ini
3
tox.ini
@ -42,12 +42,11 @@ commands = {posargs}
|
||||
# H307 like imports should be grouped together
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
# E111 Indentation is not a multiple of four
|
||||
# E126 continuation line over-indented for hanging indent
|
||||
# E128 continuation line under-indented for visual indent
|
||||
# E251 unexpected spaces around keyword / parameter equals
|
||||
# E265 Block comment should start with '# '
|
||||
ignore = H104,H302,H305,H306,H307,H401,H402,H404,H405,H904,E111,E126,E128,E251,E265
|
||||
ignore = H104,H302,H305,H306,H307,H401,H402,H404,H405,H904,E126,E128,E251,E265
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*openstack/deprecated*,*lib/python*,*egg,build,tools
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user