You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for stubs packages suffixed with -stubs installed into site-packages (must take priority over other packages installed into site-packages)
Add support for typeshed's VERSIONS file: we shouldn't fallback to a typeshed module if the VERSIONS file specifies it does not exist with the --target-version the user passes.
(Or intentional choices to diverge from PEP 561 compliance.)
Subtasks:
--custom-typeshed-dir
internally: [red-knot] Encapsulate module resolution logic inmodule.rs
#11767module.rs
#11767--custom-typeshed-dir
is not passedVendoredFileSystem
implementation: [red-knot]: Add a VendoredFileSystem implementation #11863VendoredFileSystem
implementation to resolve stdlib stubs: [red-knot] Use vendored typeshed stubs for stdlib module resolution #12224-stubs
installed intosite-packages
(must take priority over other packages installed intosite-packages
)VERSIONS
file: we shouldn't fallback to a typeshed module if theVERSIONS
file specifies it does not exist with the--target-version
the user passes.VERSIONS
: [red-knot] Add a parser for typeshed's VERSIONS file #11836VERSIONS
file when resolving stdlib modules: [red-knot] Respect typeshed'sVERSIONS
file when resolving stdlib modules #12141._pth
files:read_directory()
method to theruff_db::system::System
trait #12289The text was updated successfully, but these errors were encountered: