Skip to content

Commit d2e5cc7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d8c0f5d commit d2e5cc7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

networking_flow/ford_fulkerson.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
]
2020

2121

22-
def breadth_first_search(
23-
graph: list, source: int, sink: int, parents: list
24-
) -> bool:
22+
def breadth_first_search(graph: list, source: int, sink: int, parents: list) -> bool:
2523
"""
2624
This function returns True if there is a node that has not iterated.
2725
@@ -126,4 +124,4 @@ def ford_fulkerson(graph: list, source: int, sink: int) -> int:
126124
from doctest import testmod
127125

128126
testmod()
129-
print(f"{ford_fulkerson(graph, source=0, sink=5) = }")
127+
print(f"{ford_fulkerson(graph, source=0, sink=5) = }")

0 commit comments

Comments
 (0)