-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typing stubs for universal functions (#1010)
* WIP: add some annotations * WIP: more annotations * WIP: more annotations * Add centrality functions * Add MST functions * Add layout functions * Minor fix * Work on positional-only arguments * More positional-only arguments * Typos and minor details * All things pass * All simple paths * A-star * More * Minor fix * Black * Add visitors * Some shortest path functions * More floyd warshall * Graph union * Misc graph algos * Positional only * More types * Fix stubs * New methods * Link analysis * EdgeCentralityMapping * Even more functions * Matching * Start organizing in more than one file * Organize centrality and traversal * Organize layout * Organize link analysis and isomorphism * Re-export type-specific functions at the top level of the library * Organize tree module * Organize connectivity module * Remove re-export inside "module"-like files * Reorganize some lost functions * Reorganize matching and more connectivity functions * Organzie random_graph * Almost done * Add i/o functions * Add simple_cycles * Conclude annotations * Add missing methods in PyGraph and PyDiGraph stubs * Remove TODOs * Fix UP006 errors from ruff * Fix signature typo * Remove Optional and Union for new union syntax * Add new bipartite methods * Add isolates * Add new methods * Add new methods * Progress on arguments (missing return types) * Conclude all functions * Add new function * Add new graph_misra_gries_edge_color function * Minor fix * Add comments from review * Address comments --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
1 parent
a4e2203
commit 27c88f6
Showing
2 changed files
with
348 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters