Skip to content

Commit 94014c3

Browse files
committed
linter issues
1 parent 5044b11 commit 94014c3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

redisgraph/execution_plan.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ def append_child(self, child):
1111
def __eq__(self, o: object) -> bool:
1212
if not isinstance(o, Operation):
1313
return False
14-
14+
1515
if self.name != o.name or self.args != self.args or len(self.children) != len(o.children):
1616
return False
1717

1818
for i in range(len(self.children)):
1919
if not self.children[i] == o.children[i]:
2020
return False
21-
21+
2222
return True
2323

2424

@@ -31,9 +31,9 @@ def __str__(self) -> str:
3131
return "\n".join(self.plan)
3232

3333
def _operation_tree(self):
34-
i = 0
35-
level = 0
36-
stack = []
34+
i = 0
35+
level = 0
36+
stack = []
3737
current = None
3838

3939
while i < len(self.plan):

tests/functional/test_all.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ def test_execution_plan(self):
256256
self.assertEqual(str(result), expected)
257257

258258
expected = Operation('Results') \
259-
.append_child(Operation('Project') \
260-
.append_child(Operation('Conditional Traverse', "(t:Team)->(r:Rider)") \
261-
.append_child(Operation("Filter") \
259+
.append_child(Operation('Project')
260+
.append_child(Operation('Conditional Traverse', "(t:Team)->(r:Rider)")
261+
.append_child(Operation("Filter")
262262
.append_child(Operation('Node By Label Scan', "(t:Team)")))))
263263

264264
self.assertEqual(result.structured_plan, expected)

0 commit comments

Comments
 (0)