mirror of https://github.com/astral-sh/ruff
Run generation steps
This commit is contained in:
parent
6a1edeb694
commit
ef7777703b
|
|
@ -933,6 +933,7 @@
|
|||
"SIM102",
|
||||
"SIM105",
|
||||
"SIM11",
|
||||
"SIM117",
|
||||
"SIM118",
|
||||
"SIM2",
|
||||
"SIM22",
|
||||
|
|
|
|||
|
|
@ -2951,8 +2951,9 @@ impl CheckKind {
|
|||
CheckKind::KeyInDict(key, dict) => {
|
||||
format!("Use `{key} in {dict}` instead of `{key} in {dict}.keys()`")
|
||||
}
|
||||
CheckKind::MultipleWithStatements => "Use a single `with` statement with multiple contexts instead of nested `with` \
|
||||
statements".to_string(),
|
||||
CheckKind::MultipleWithStatements => "Use a single `with` statement with multiple \
|
||||
contexts instead of nested `with` statements"
|
||||
.to_string(),
|
||||
CheckKind::NestedIfStatements => {
|
||||
"Use a single `if` statement instead of nested `if` statements".to_string()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue