ruff/crates/red_knot
2024-06-20 13:24:24 +02:00
..
src [red-knot] Extract red_knot_python_semantic crate (#11926) 2024-06-20 13:24:24 +02:00
vendor/typeshed Sync vendored typeshed stubs (#11885) 2024-06-15 02:15:19 +01:00
build.rs [red-knot] Include vendored typeshed stubs as a zipfile in the Ruff binary (#11779) 2024-06-07 15:00:36 +00:00
Cargo.toml [red-knot] Extract red_knot_python_semantic crate (#11926) 2024-06-20 13:24:24 +02:00
README.md Add automation for updating our vendored typeshed stubs (#11427) 2024-05-14 20:39:30 -04:00

Red Knot

The Red Knot crate contains code working towards multifile analysis, type inference and, ultimately, type-checking. It's very much a work in progress for now.

Vendored types for the stdlib

Red Knot vendors typeshed's stubs for the standard library. The vendored stubs can be found in crates/red_knot/vendor/typeshed. The file crates/red_knot/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.