mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 01:50:38 +00:00
[ty] Generate and add rules table (#17953)
This commit is contained in:
parent
91aa853b9c
commit
5eb215e8e5
9 changed files with 1710 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue