Correct failures for check W292
The new W292 "no newline at end of file" rule was failing and ignored. Now it's enforced. Change-Id: I71ba57a056b5b0c772482f5bd80f3e05dffa54d2
This commit is contained in:
@@ -37,4 +37,4 @@ class CertificateTests(utils.TestCase, testresources.ResourcedTestCase):
|
||||
|
||||
|
||||
def load_tests(loader, tests, pattern):
|
||||
return testresources.OptimisingTestSuite(tests)
|
||||
return testresources.OptimisingTestSuite(tests)
|
||||
|
@@ -39,4 +39,4 @@ class CertificatesManager(object):
|
||||
|
||||
resp, body = self._client.get('/certificates/signing',
|
||||
authenticated=False)
|
||||
return resp.text
|
||||
return resp.text
|
||||
|
4
tox.ini
4
tox.ini
@@ -35,8 +35,8 @@ commands = oslo_debug_helper -t keystoneclient/tests {posargs}
|
||||
# H304: no relative imports
|
||||
# H405: multi line docstring summary not separated with an empty line
|
||||
# E122: continuation line missing indentation or outdented
|
||||
# New from hacking 0.10: H238,W292
|
||||
ignore = F821,H238,H304,H405,E122,W292
|
||||
# New from hacking 0.10: H238
|
||||
ignore = F821,H238,H304,H405,E122
|
||||
show-source = True
|
||||
exclude = .venv,.tox,dist,doc,*egg,build,*openstack/common*
|
||||
|
||||
|
Reference in New Issue
Block a user