ruff
ruff copied to clipboard
[red-knot] Use vendored typeshed stubs for stdlib module resolution
Summary
If the user does not pass a --custom-typeshed-dir flag via the CLI or via a configuration flag, fall back to using the VendoredFileSystem to resolve standard-library modules in the module resolver. Work towards #11653.
(This PR is stacked on top of #12215)
Test Plan
I added a test to resolver.rs that demonstrates that vendored files now work
ruff-ecosystem results
Linter (stable)
✅ ecosystem check detected no linter changes.
Linter (preview)
✅ ecosystem check detected no linter changes.