mirror of https://github.com/astral-sh/ruff
When a type of the form `Literal["..."]` would be constructed with too large of a string, this PR converts it to `LiteralString` instead. We also extend inference for binary operations to include the case where one of the operands is `LiteralString`. Closes #13224 |
||
|---|---|---|
| .. | ||
| src | ||
| vendor/typeshed | ||
| Cargo.toml | ||
| README.md | ||
| build.rs | ||
README.md
Red Knot
Semantic analysis for the red-knot project.
Vendored types for the stdlib
This crate vendors typeshed's stubs for the standard library. The vendored stubs can be found in crates/red_knot_python_semantic/vendor/typeshed. The file crates/red_knot_python_semantic/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.