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:
Sergey Reshetnyak
2015-01-11 13:41:18 +03:00
parent ce395f1ec2
commit 72aff5c61b
3 changed files with 2 additions and 7 deletions

View File

@@ -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

View File

@@ -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')

View File

@@ -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