Python/graphs
AtomicVar 4b6f688344
Use compiled black as the pre-commit formatter (#11247)
* Use compiled black as the pre-commit formatter

* ruff-format

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Keep GitHub Actions up to date with Dependabot

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-16 09:39:54 +01:00
..
tests [pre-commit.ci] pre-commit autoupdate (#9543) 2023-10-07 21:32:28 +02:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
a_star.py test: adding more tests to a star algorithm (#10397) 2023-10-15 17:31:11 -04:00
ant_colony_optimization_algorithms.py add graphs/ant_colony_optimization_algorithms.py (#11163) 2023-11-25 13:26:03 +01:00
articulation_points.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
basic_graphs.py *added docstring and doctest for find_isolated_nodes (#10684) 2023-10-19 16:48:53 +02:00
bellman_ford.py Add Flake8 comprehensions to pre-commit (#7235) 2022-10-15 19:29:42 +02:00
bi_directional_dijkstra.py Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
bidirectional_a_star.py The black formatter is no longer beta (#5960) 2022-01-30 20:29:54 +01:00
bidirectional_breadth_first_search.py mandelbrot.py: Commenting out long running tests (#5558) 2021-10-23 18:15:30 +02:00
boruvka.py [mypy] Fix type annotations in graphs/boruvka.py (#5794) 2021-11-08 21:47:09 +08:00
breadth_first_search_2.py Update breadth_first_search_2.py (#7765) 2022-10-28 22:27:39 +02:00
breadth_first_search_shortest_path_2.py Rename files (#7819) 2022-10-29 14:31:56 +02:00
breadth_first_search_shortest_path.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
breadth_first_search_zero_one_shortest_path.py Rename files (#7819) 2022-10-29 14:31:56 +02:00
breadth_first_search.py [mypy] Type annotations for graphs directory (#5798) 2021-11-08 19:18:30 +01:00
check_bipatrite.py Concatenates both check bipatrite graphs(bfs&dfs) (#10708) 2023-10-20 08:09:58 +02:00
check_cycle.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
connected_components.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
deep_clone_graph.py Added algorithm to deeply clone a graph (#9765) 2023-10-06 00:45:40 +02:00
depth_first_search_2.py Adds Doc test in depth_first_search_2.py (#10094) 2023-10-16 04:13:34 -04:00
depth_first_search.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
dijkstra_2.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
dijkstra_algorithm.py Increase code coverage for dijkstra algorithm (#10695) 2023-10-27 22:10:32 +02:00
dijkstra_alternate.py Create graphs/dijkstra_alternate.py (#7405) 2022-10-20 09:48:28 +02:00
dijkstra_binary_grid.py Dijkstra algorithm with binary grid (#8802) 2023-06-22 13:49:09 +02:00
dijkstra.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
dinic.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
directed_and_undirected_(weighted)_graph.py [Upgrade Ruff] Fix all errors raised from ruff (#8879) 2023-07-22 12:05:10 +02:00
edmonds_karp_multiple_source_and_sink.py [Upgrade Ruff] Fix all errors raised from ruff (#8879) 2023-07-22 12:05:10 +02:00
eulerian_path_and_circuit_for_undirected_graph.py Use compiled black as the pre-commit formatter (#11247) 2024-01-16 09:39:54 +01:00
even_tree.py Fix mypy errors at even_tree algo (#4579) 2021-07-29 15:14:35 +02:00
finding_bridges.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
frequent_pattern_graph_miner.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
g_topological_sort.py Update g_topological_sort.py (#1873) 2020-04-16 12:34:14 +02:00
gale_shapley_bigraph.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
graph_adjacency_list.py Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
graph_adjacency_matrix.py Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
graph_list.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
graphs_floyd_warshall.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
greedy_best_first.py Fix greedy_best_first (#8775) 2023-08-15 15:52:51 -07:00
greedy_min_vertex_cover.py [mypy] Type annotations for graphs directory (#5798) 2021-11-08 19:18:30 +01:00
kahns_algorithm_long.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
kahns_algorithm_topo.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
karger.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
markov_chain.py [mypy] Fix type annotations for graphs (#4622) 2021-08-18 12:44:26 +02:00
matching_min_vertex_cover.py Matching min vertex cover (#5326) 2021-10-15 17:03:57 +02:00
minimum_path_sum.py Add minmum path sum (#5882) 2022-05-25 13:49:54 +08:00
minimum_spanning_tree_boruvka.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
minimum_spanning_tree_kruskal.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
minimum_spanning_tree_kruskal2.py Fix mypy errors at kruskal_2 (#4528) 2021-07-08 08:46:43 +02:00
minimum_spanning_tree_prims.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
minimum_spanning_tree_prims2.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
multi_heuristic_astar.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
page_rank.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
prim.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
random_graph_generator.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
scc_kosaraju.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
strongly_connected_components.py Fix mypy erros at strongly connected component (#4558) 2021-07-21 07:59:18 +02:00
tarjans_scc.py Add doctests and type hints (#10974) 2023-10-26 03:02:35 -04:00