Enable W292 and E123
* W292 no newline at end of file * E123 closing bracket does not match indentation of opening bracket's line Change-Id: Id02e5881671c7cb2572e6e9130349c34ea04fff1
This commit is contained in:
@@ -170,4 +170,4 @@ def get_query_string(search_opts):
|
||||
query_string = "?%s" % parse.urlencode(qparams)
|
||||
else:
|
||||
query_string = ""
|
||||
return query_string
|
||||
return query_string
|
||||
|
||||
@@ -62,7 +62,7 @@ class PluginTest(base.BaseTestCase):
|
||||
'description': 'description',
|
||||
'plugin_name': 'plugin',
|
||||
'hadoop_version': '1',
|
||||
}
|
||||
}
|
||||
mpost.return_value = base.FakeResponse(202, response,
|
||||
'cluster_template')
|
||||
|
||||
|
||||
5
tox.ini
5
tox.ini
@@ -49,11 +49,6 @@ commands =
|
||||
python setup.py build_sphinx
|
||||
|
||||
[flake8]
|
||||
|
||||
# W292 no newline at end of file (new in hacking 0.10.0)
|
||||
# E123 closing bracket does not match indentation of opening bracket's line
|
||||
|
||||
ignore = W292,E123
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
||||
|
||||
Reference in New Issue
Block a user