Run generation steps

This commit is contained in:
Charlie Marsh 2023-01-04 22:04:55 -05:00
parent 6a1edeb694
commit ef7777703b
2 changed files with 4 additions and 2 deletions

View File

@ -933,6 +933,7 @@
"SIM102", "SIM102",
"SIM105", "SIM105",
"SIM11", "SIM11",
"SIM117",
"SIM118", "SIM118",
"SIM2", "SIM2",
"SIM22", "SIM22",

View File

@ -2951,8 +2951,9 @@ impl CheckKind {
CheckKind::KeyInDict(key, dict) => { CheckKind::KeyInDict(key, dict) => {
format!("Use `{key} in {dict}` instead of `{key} in {dict}.keys()`") 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` \ CheckKind::MultipleWithStatements => "Use a single `with` statement with multiple \
statements".to_string(), contexts instead of nested `with` statements"
.to_string(),
CheckKind::NestedIfStatements => { CheckKind::NestedIfStatements => {
"Use a single `if` statement instead of nested `if` statements".to_string() "Use a single `if` statement instead of nested `if` statements".to_string()
} }