Enable: E122 continuation line missing indentation or outdented
Change-Id: I90897f0c027a5b7ed43f42030bf7c5425be66b84 Closes-Bug: #1398558
This commit is contained in:
parent
1bd869c3df
commit
ee647bfe63
@ -347,7 +347,8 @@ class TestDatasourceDriver(base.TestCase):
|
|||||||
translator = {'translation-type': 'HDICT', 'table-name': 'testtable',
|
translator = {'translation-type': 'HDICT', 'table-name': 'testtable',
|
||||||
'selector-type': 'DOT_SELECTOR',
|
'selector-type': 'DOT_SELECTOR',
|
||||||
'field-translators': (
|
'field-translators': (
|
||||||
{'fieldname': 'testfield1', 'translator': self.val_trans},)}
|
{'fieldname': 'testfield1',
|
||||||
|
'translator': self.val_trans},)}
|
||||||
rows, k = DataSourceDriver.convert_obj(resp, translator)
|
rows, k = DataSourceDriver.convert_obj(resp, translator)
|
||||||
|
|
||||||
self.assertEqual(1, len(rows))
|
self.assertEqual(1, len(rows))
|
||||||
|
3
tox.ini
3
tox.ini
@ -46,12 +46,11 @@ commands = python setup.py testr --no-parallel --testr-args='test_benchmark {pos
|
|||||||
# H904 Wrap long lines in parentheses instead of a backslash
|
# H904 Wrap long lines in parentheses instead of a backslash
|
||||||
# H404 multi line docstring should start with a summary
|
# H404 multi line docstring should start with a summary
|
||||||
# H231 Python 3.x incompatible
|
# H231 Python 3.x incompatible
|
||||||
# E122 continuation line missing indentation or outdented
|
|
||||||
# E113 unexpected indentation
|
# E113 unexpected indentation
|
||||||
# H302 import only modules
|
# H302 import only modules
|
||||||
|
|
||||||
|
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E128,E129,E251,F402,F811,F812,H237,H305,H401,H404,H405,H904,H231,E122,H302
|
ignore = E128,E129,E251,F402,F811,F812,H237,H305,H401,H404,H405,H904,H231,H302
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*thirdparty/*,CongressLexer.py,CongressParser.py
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*thirdparty/*,CongressLexer.py,CongressParser.py
|
||||||
|
Loading…
Reference in New Issue
Block a user