FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Extract NetworkX types from docstrings by darabos · Pull Request #13458 · python/typeshed · GitHub

Repository navigation

Extract NetworkX types from docstrings - #13458

Merged
srittau merged 7 commits into
python:mainfrom
darabos:darabos-networkx
Feb 26, 2025
Merged

srittau merged 7 commits into
python:mainfrom
darabos:darabos-networkx

Conversation

darabos commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

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.

github-actions Bot commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

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

srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

This file contains hidden or 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
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


Back | FazBrowse Home | New Git URL