added ruff code reivew
This commit is contained in:
+3
-1
@@ -114,7 +114,9 @@ def test_config_name() -> str:
|
||||
try:
|
||||
if _is_usable_config(name):
|
||||
return name
|
||||
except Exception:
|
||||
except Exception: # noqa: S112 - a failing config is simply not a candidate
|
||||
# Probe: a config that cannot be loaded or lacks the key is simply not
|
||||
# a candidate. Any such failure is reported if no config survives.
|
||||
continue
|
||||
|
||||
raise RuntimeError(
|
||||
|
||||
Reference in New Issue
Block a user