Skip to content

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!

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
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. 🤖🎉

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I found no red flags while spot checking, and the missing primer output is also promising.

@srittau srittau merged commit 84c78c6 into python:main Feb 26, 2025
43 checks passed
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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.

2 participants