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

Add more networkx annotations for networkx.algorithms.dag #11224

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

Conversation

wwade
Copy link

@wwade wwade commented Jan 3, 2024

The stubs for networkx.algorithms.dag are now complete with this change.

The stubs for this module are now complete with this change.

This comment has been minimized.

Callable and Iterable are also defined in collections.abc and should
be used instead of the definitions from typing.
Copy link
Contributor

github-actions bot commented Jan 3, 2024

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

@srittau
Copy link
Collaborator

srittau commented Jan 4, 2024

Thanks! I haven't reviewed the stubs yet, but if networkx is complete, you should be able to remove it from pyrightconfig.stricter.json and remove partial_stub and ignore_missing_stub from the METADATA.toml file.

@wwade
Copy link
Author

wwade commented Jan 4, 2024

Thanks! I haven't reviewed the stubs yet, but if networkx is complete, you should be able to remove it from pyrightconfig.stricter.json and remove partial_stub and ignore_missing_stub from the METADATA.toml file.

Sorry, the description might have been misleading. Only the networkx.algorithms.dag is complete, not all of networkx.

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.

None yet

2 participants