Skip to content

Commit c67babe

Browse files
github-actionsgithub-actions
authored andcommitted
fixup! Format Python code with psf/black push
1 parent 7761416 commit c67babe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphs/karger.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def partition_graph(graph: Dict[str, List[str]]) -> Set[Tuple[str, str]]:
6060
for neighbor in uv_neighbors:
6161
graph_copy[neighbor].append(uv)
6262

63-
contracted_nodes[uv] = {node for node in contracted_nodes[u].union(contracted_nodes[v])}
63+
contracted_nodes[uv] = {
64+
node for node in contracted_nodes[u].union(contracted_nodes[v])
65+
}
6466

6567
# Remove nodes u and v.
6668
del graph_copy[u]

0 commit comments

Comments
 (0)