refactor: Replace list() and dict() calls with literals (#7198)

This commit is contained in:
Caeden
2022-10-15 02:07:03 +01:00
committed by GitHub
parent dcca5351c9
commit 6e69181d1f
10 changed files with 14 additions and 14 deletions

View File

@ -100,7 +100,7 @@ def solution(filename: str = "p107_network.txt") -> int:
script_dir: str = os.path.abspath(os.path.dirname(__file__))
network_file: str = os.path.join(script_dir, filename)
adjacency_matrix: list[list[str]]
edges: dict[EdgeT, int] = dict()
edges: dict[EdgeT, int] = {}
data: list[str]
edge1: int
edge2: int