ruff icon indicating copy to clipboard operation
ruff copied to clipboard

[red-knot] Use vendored typeshed stubs for stdlib module resolution

Open AlexWaygood opened this issue 1 year ago • 1 comments

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

AlexWaygood avatar Jul 07 '24 22:07 AlexWaygood

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

github-actions[bot] avatar Jul 07 '24 22:07 github-actions[bot]