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:
Lianhao Lu 2014-12-03 14:22:07 +08:00
parent f8f469a6e7
commit d5e5621417
2 changed files with 3 additions and 4 deletions

View File

@ -1638,8 +1638,8 @@ class DeltaRuleTheory (Theory):
continue
rule = compile.reorder_for_safety(rule)
for literal in rule.body:
if builtin_registry.is_builtin(
literal.table, len(literal.arguments)):
if builtin_registry.is_builtin(literal.table,
len(literal.arguments)):
continue
newbody = [lit for lit in rule.body if lit is not literal]
delta_rules.append(

View File

@ -33,7 +33,6 @@ commands = python setup.py testr --no-parallel --testr-args='test_benchmark {pos
testr slowest --all
[flake8]
# E125 continuation line does not distinguish itself from next logical line
# E126 continuation line over-indented for hanging indent
# E128 continuation line under-indented for visual indent
# 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
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 = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*thirdparty/*,CongressLexer.py,CongressParser.py