Skip to content

Commit 4d1b64b

Browse files
committed
Formatting fixes
1 parent 9181005 commit 4d1b64b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

devito/ir/iet/visitors.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def always_rebuild(self, o, *args, **kwargs):
5959

6060

6161
TResult = TypeVar('TResult')
62+
63+
6264
class LazyVisitor(GenericVisitor, Generic[TResult]):
6365

6466
"""
@@ -1063,7 +1065,7 @@ def __init__(self, mode: str = 'symbolics') -> None:
10631065
self.rule = lambda n: chain(*[self.rules[mode](n) for mode in modes])
10641066

10651067
def _post_visit(self, ret):
1066-
return sorted(filter_ordered(ret, key = id), key=str)
1068+
return sorted(filter_ordered(ret, key=id), key=str)
10671069

10681070
def visit_tuple(self, o: Sequence[Any]) -> Iterator[Any]:
10691071
for i in o:
@@ -1129,6 +1131,8 @@ def visit_Node(self, o: Node) -> Iterator[Any]:
11291131

11301132

11311133
TApp = TypeVar('TApp')
1134+
1135+
11321136
class FindApplications(LazyVisitor[set[TApp]]):
11331137

11341138
"""

0 commit comments

Comments
 (0)