Enable E125 pep8 check
Enabled E125 continuation line does not distinguish itself from next logical line check. Change-Id: Ia961835a29e552912944eadae92bc1b379121cfe Closes-Bug: #1398538
This commit is contained in:
parent
f8f469a6e7
commit
d5e5621417
|
@ -1638,8 +1638,8 @@ class DeltaRuleTheory (Theory):
|
||||||
continue
|
continue
|
||||||
rule = compile.reorder_for_safety(rule)
|
rule = compile.reorder_for_safety(rule)
|
||||||
for literal in rule.body:
|
for literal in rule.body:
|
||||||
if builtin_registry.is_builtin(
|
if builtin_registry.is_builtin(literal.table,
|
||||||
literal.table, len(literal.arguments)):
|
len(literal.arguments)):
|
||||||
continue
|
continue
|
||||||
newbody = [lit for lit in rule.body if lit is not literal]
|
newbody = [lit for lit in rule.body if lit is not literal]
|
||||||
delta_rules.append(
|
delta_rules.append(
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -33,7 +33,6 @@ commands = python setup.py testr --no-parallel --testr-args='test_benchmark {pos
|
||||||
testr slowest --all
|
testr slowest --all
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E125 continuation line does not distinguish itself from next logical line
|
|
||||||
# E126 continuation line over-indented for hanging indent
|
# E126 continuation line over-indented for hanging indent
|
||||||
# E128 continuation line under-indented for visual indent
|
# E128 continuation line under-indented for visual indent
|
||||||
# E129 visually indented line with same indent as next logical line
|
# E129 visually indented line with same indent as next logical line
|
||||||
|
@ -56,6 +55,6 @@ commands = python setup.py testr --no-parallel --testr-args='test_benchmark {pos
|
||||||
|
|
||||||
|
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E125,E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H404,H405,H904,H231,E122,H301
|
ignore = E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H404,H405,H904,H231,E122,H301
|
||||||
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