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

Use sys.stdlib_module_names to complement known stdlib modules #2295

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devdanzin
Copy link

This PR attempts to fix #2250 by adding the names from sys.stdlib_module_names (or sys.builtin_module_names for versions below 3.10) to the known stdlib modules lists (and as such is an alternative to #2279).

It still uses Sphinx to download known module names, adding the names from sys to the downloaded lists. Some of the new names (antigravity, this) are excluded, please let me know if any others should be too.

A test for some of the new known modules is included.

Happy to apply any suggestions to the code.

…or versions below 3.10) to the known stdlib modules lists.
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.

isort does not recognize _collections_abc as part of the standard library
1 participant