Skip to content

Commit

Permalink
Update walker_class.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 5, 2024
1 parent 5fd68d5 commit 3c209d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kyu_3/line_safari_is_that_a_line/walker_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ def position_minus(self, previous_position) -> None:
elif self.__position['col'] > self.__position['prev_col']:
self.__direction['right'] = self.__test_right()

def position_pipe(self, previous_position: dict) -> None:
def position_pipe(self, previous_position: str) -> None:
"""
Process cells if current position is '|'.
:param previous_position: dict
:param previous_position: str
:return: None

Check warning on line 187 in kyu_3/line_safari_is_that_a_line/walker_class.py

View check run for this annotation

Codecov / codecov/patch

kyu_3/line_safari_is_that_a_line/walker_class.py#L186-L187

Added lines #L186 - L187 were not covered by tests
"""
if self.position == '|' and previous_position in '|X+':
Expand Down

0 comments on commit 3c209d7

Please sign in to comment.