autopep8: fix E129 visually indented line with same indent as next logical line
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 13 Feb 2019 17:22:45 +0100
changeset 846 435999068f66
parent 845 15634db57820
child 847 f8ff67ee0d5a
autopep8: fix E129 visually indented line with same indent as next logical line
rql/stcheck.py
--- a/rql/stcheck.py	Wed Feb 13 17:22:18 2019 +0100
+++ b/rql/stcheck.py	Wed Feb 13 17:22:45 2019 +0100
@@ -307,7 +307,7 @@
             lhs2, rhs2 = r2.get_variable_parts()
             try:
                 if (lhs1.variable is rhs2.variable and
-                    rhs1.variable is lhs2.variable):
+                        rhs1.variable is lhs2.variable):
                     ou.parent.replace(ou, r1)
                     for vref in r2.get_nodes(VariableRef):
                         vref.unregister_reference()
@@ -472,7 +472,7 @@
         if constant.value not in self.schema:
             state.error('unknown entity type %s' % constant.value)
         if (isinstance(constant.parent, Function) and
-            constant.parent.name == 'CAST'):
+                constant.parent.name == 'CAST'):
             return
         rel = constant.relation()
         if rel is not None and rel.r_type in ('is', 'is_instance_of'):