Skip to content

Conversation

MeGaGiGaGon
Copy link
Contributor

@MeGaGiGaGon MeGaGiGaGon commented Aug 29, 2025

Adds type hints to previously incomplete items in algorithms/connectivity/connectivity.pyi. Changes were done referencing https://networkx.org/documentation/stable/_modules/networkx/algorithms/connectivity/connectivity.html

@MeGaGiGaGon
Copy link
Contributor Author

I realized what I did wrong, there are two files named connectivity.pyi in networkx with almost the same functions and I was editing the wrong one 🤦

@MeGaGiGaGon MeGaGiGaGon changed the title networkx: Add new things to connectivity networkx: Fix incompletes in connectivity/connectivity Aug 29, 2025

This comment has been minimized.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/hybrid.py:508: error: Overlap between argument names and ** TypedDict items: "description", "name"  [misc]
+ discord/ext/commands/hybrid.py:508: error: Overlap between argument names and ** TypedDict items: "name", "description"  [misc]
- discord/ext/commands/hybrid.py:629: error: Overlap between argument names and ** TypedDict items: "description", "name"  [misc]
+ discord/ext/commands/hybrid.py:629: error: Overlap between argument names and ** TypedDict items: "name", "description"  [misc]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant