Add missing typehint
Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
parent
ede20c01ed
commit
1f7931980a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def parse(instr: str) -> List[Line]:
|
|||
return o
|
||||
|
||||
|
||||
def remove_diagonal_lines(lines: List[Line]):
|
||||
def remove_diagonal_lines(lines: List[Line]) -> List[Line]:
|
||||
return list(
|
||||
filter(
|
||||
lambda line: line[0].x == line[1].x or line[0].y == line[1].y,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue