[ty] Generate and add rules table (#17953)

This commit is contained in:
Micha Reiser 2025-05-08 16:55:39 +02:00 committed by GitHub
parent 91aa853b9c
commit 5eb215e8e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 1710 additions and 3 deletions

View file

@ -646,7 +646,7 @@ declare_lint! {
/// must be assigned the value `False` at runtime; the type checker will consider its value to
/// be `True`. If annotated, it must be annotated as a type that can accept `bool` values.
pub(crate) static INVALID_TYPE_CHECKING_CONSTANT = {
summary: "detects invalid TYPE_CHECKING constant assignments",
summary: "detects invalid `TYPE_CHECKING` constant assignments",
status: LintStatus::preview("1.0.0"),
default_level: Level::Error,
}