Run generation steps
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user