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

networkx: `ignore_missing_stub = false` by Avasam · Pull Request #13968 · python/typeshed · GitHub

Repository navigation

networkx: ignore_missing_stub = false - #13968

Merged
srittau merged 7 commits into
python:mainfrom
Avasam:networkx--`ignore_missing_stub-=-false`
May 12, 2025
Merged

srittau merged 7 commits into
python:mainfrom
Avasam:networkx--`ignore_missing_stub-=-false`

Conversation

Avasam commented May 9, 2025 •
edited
Loading

Copy link
Copy Markdown
Collaborator

Whilst merging stubs from https://github.com/microsoft/python-type-stubs/tree/main/stubs/networkx , I noticed a lot of missing functions. This is a follow-up to #13956

There's 3 categories of new stubtest allowlist entries: 1 to avoid a crash, and 2 idk why they happen.

Avasam marked this pull request as draft May 9, 2025 03:59

This comment has been minimized.

Comment on lines +41 to +49
# "..._DT is not present at runtime" but we don't set it in stubs, I don't understand this one
networkx(\.algorithms)?(\.tree)?(\.mst)?\.SpanningTreeIterator\.Partition\._DT
networkx(\.algorithms)?(\.tree)?(\.branchings)?\.ArborescenceIterator\.Partition\._DT

# variable differs from runtime type abc.ABCMeta
networkx.classes.reportviews.EdgeView.dataview
networkx.classes.reportviews.InEdgeView.dataview
networkx.classes.reportviews.OutEdgeView.dataview
networkx.classes.reportviews.OutMultiEdgeView.dataview

Copy link
Copy Markdown
Collaborator Author

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

These two issues I don't understand. I'm not sure if it's something I should do differently, just ignore, and/or report to mypy/stubtest

This comment has been minimized.

Avasam marked this pull request as ready for review May 10, 2025 17:44

This comment has been minimized.

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>

This comment has been minimized.

This comment has been minimized.

Copy link
Copy Markdown
Contributor

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

srittau merged commit f0c88fd into python:main May 12, 2025
Avasam deleted the networkx--`ignore_missing_stub-=-false` branch May 12, 2025 15:38
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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