mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-08 05:35:20 +00:00
![]() ## Summary Extracts the vendored typeshed stubs lazily and caches them on the local filesystem to support go-to in the LSP. Resolves https://github.com/astral-sh/ty/issues/77. |
||
---|---|---|
.. | ||
src | ||
ty_extensions | ||
vendor/typeshed | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
README.md |
Vendored types for the stdlib
This crate vendors typeshed's stubs for the standard library. The vendored stubs can be found in crates/ty_vendored/vendor/typeshed
. The file crates/ty_vendored/vendor/typeshed/source_commit.txt
tells you the typeshed commit that our vendored stdlib stubs currently correspond to.
The typeshed stubs are updated every two weeks via an automated PR using the sync_typeshed.yaml
workflow in the .github/workflows
directory. This workflow can also be triggered at any time via workflow dispatch.