From 111bd6b6ee879aef75b0022ad9d1f2995603145b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:35:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- graphs/basic_graphs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/graphs/basic_graphs.py b/graphs/basic_graphs.py index 08431e832..c92fb6d7a 100644 --- a/graphs/basic_graphs.py +++ b/graphs/basic_graphs.py @@ -8,7 +8,6 @@ def _input(message): def initialize_unweighted_directed_graph( node_count: int, edge_count: int ) -> dict[int, list[int]]: - graph: dict[int, list[int]] = {} for i in range(node_count): graph[i + 1] = [] @@ -22,7 +21,6 @@ def initialize_unweighted_directed_graph( def initialize_unweighted_undirected_graph( node_count: int, edge_count: int ) -> dict[int, list[int]]: - graph: dict[int, list[int]] = {} for i in range(node_count): graph[i + 1] = [] @@ -37,7 +35,6 @@ def initialize_unweighted_undirected_graph( def initialize_weighted_undirected_graph( node_count: int, edge_count: int ) -> dict[int, list[tuple[int, int]]]: - graph: dict[int, list[tuple[int, int]]] = {} for i in range(node_count): graph[i + 1] = []