Fix linting.
This commit is contained in:
@@ -10,7 +10,8 @@ lines = sys.stdin.read().splitlines()
|
||||
distances: dict[str, dict[str, int]] = defaultdict(dict)
|
||||
for line in lines:
|
||||
origin, destination, length = cast(
|
||||
tuple[str, str, int], parse.parse("{} to {} = {:d}", line) # type: ignore
|
||||
tuple[str, str, int],
|
||||
parse.parse("{} to {} = {:d}", line), # type: ignore
|
||||
)
|
||||
distances[origin][destination] = distances[destination][origin] = length
|
||||
|
||||
|
Reference in New Issue
Block a user