fix: ruff check for True if ... else (#12576)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong
2025-01-13 09:38:48 +08:00
committed by GitHub
parent a6455269f0
commit 4e101604c3
6 changed files with 6 additions and 7 deletions

View File

@@ -69,7 +69,6 @@ ignore = [
"SIM108", # if-else-block-instead-of-if-exp
"SIM113", # enumerate-for-loop
"SIM117", # multiple-with-statements
"SIM210", # if-expr-with-true-false
]
[lint.per-file-ignores]