PEP8: Removing unexpected indentation and allowing E113 checks
Change-Id: I9f7e2359cec7b001ebe7e4fb85640dcfc6b900f5 Closes-Bug: #1387652 Signed-off-by: Roey Chen <roeyc@vmware.com>
This commit is contained in:
parent
16aeeee271
commit
7a6f30d4ff
|
@ -787,8 +787,8 @@ class TopDownTheory(Theory):
|
|||
def new_bi_unifier(cls, dictionary=None):
|
||||
"""Return a unifier compatible with unify.bi_unify."""
|
||||
return unify.BiUnifier(dictionary=dictionary)
|
||||
# lambda (index):
|
||||
# compile.Variable("x" + str(index)), dictionary=dictionary)
|
||||
# lambda (index):
|
||||
# compile.Variable("x" + str(index)), dictionary=dictionary)
|
||||
|
||||
def arity(self, tablename):
|
||||
"""Return the number of arguments TABLENAME takes or None if
|
||||
|
|
|
@ -193,7 +193,7 @@ class TestSimulate(unittest.TestCase):
|
|||
'action("q")')
|
||||
classify_code = ('')
|
||||
run = self.create(action_code, classify_code)
|
||||
# ordered so that consequences will be p+(1) p-(1)
|
||||
# ordered so that consequences will be p+(1) p-(1)
|
||||
action_sequence = 'q(1), r(1) :- true'
|
||||
self.check(run, action_sequence, 'p(x)', 'p(1)',
|
||||
"Deletion before insertion")
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -49,6 +49,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||
|
||||
|
||||
show-source = True
|
||||
ignore = E125,E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H402,H404,H405,H904,H231,E122,E113,H301,H233,E112
|
||||
ignore = E125,E126,E128,E129,E251,E713,F402,F811,F812,H237,H305,H307,H401,H402,H404,H405,H904,H231,E122,H301,H233,E112
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*thirdparty/*,CongressLexer.py,CongressParser.py
|
||||
|
|
Loading…
Reference in New Issue