fix ruff case SIM112 (#11190)

This commit is contained in:
Alexei Znamensky
2025-11-23 20:37:12 +13:00
committed by GitHub
parent 19757b3a4c
commit 9a3e26ad98
4 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ ignore = [
"B026", # star-arg-unpacking-after-keyword-arg
"SIM102", # collapsible-if
"SIM110", # reimplemented-builtin
"SIM112", # uncapitalized-environment-variables
"SIM114", # if-with-same-arms
"SIM115", # open-file-with-context-handler
"SIM116", # if-else-block-instead-of-dict-lookup