Add missing typehint

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2021-12-06 21:19:41 +00:00
parent ede20c01ed
commit 1f7931980a
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -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,