Skip to content

Commit 2ca5383

Browse files
Lint
1 parent 7bb4b7c commit 2ca5383

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

railwayroutegenerator/routegenerator.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,14 @@ def traverse_edge(
6666
for possible_following_edge in possible_following_edges:
6767
if possible_following_edge is None:
6868
continue
69-
next_direction = possible_following_edge.get_direction_based_on_start_node(next_node)
69+
next_direction = possible_following_edge.get_direction_based_on_start_node(
70+
next_node
71+
)
7072
routes = routes + self.traverse_edge(
71-
possible_following_edge, next_direction, current_route.duplicate(), active_signal
73+
possible_following_edge,
74+
next_direction,
75+
current_route.duplicate(),
76+
active_signal,
7277
)
7378

7479
return routes

0 commit comments

Comments
 (0)