chore: formatting with ruff

This commit is contained in:
2024-12-02 12:43:55 +01:00
parent 6f6387af4e
commit 455d815d0d
2 changed files with 5 additions and 6 deletions

View File

@@ -5,8 +5,8 @@ from typing import Generator, TextIO, Tuple
def read_input(f: TextIO) -> Generator[Tuple[int, int], None, None]:
for line in f:
x, y = line.strip().split()
yield (int(x), int(y))
x, y = line.strip().split()
yield (int(x), int(y))
def total_distance() -> int:
@@ -25,7 +25,6 @@ def total_distance() -> int:
return total_distance
def similarity_score() -> int:
left = []
right = []