Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract NetworkX types from docstrings #13458

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

darabos
Copy link
Contributor

@darabos darabos commented Feb 3, 2025

Sorry about the huge PR. I have no idea how to validate this. I bet it's not 100% accurate. But it may still be an improvement?

I've mentioned this idea in #11811 but only now did I have the opportunity to work on it. I wrote a small script (networkx_stubs_from_docstrings.py) to extract these annotations from the NetworkX docstrings.

Thanks for any feedback!

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Feb 3, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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