Replace pylint broad-except with Ruff BLE001 (#116250)

This commit is contained in:
Sid
2024-05-07 14:00:27 +02:00
committed by GitHub
parent b35fbd8d20
commit 2cc916db6d
335 changed files with 459 additions and 459 deletions

View File

@ -236,7 +236,7 @@ def check(config_dir, secrets=False):
if err.config:
res["warn"].setdefault(domain, []).append(err.config)
except Exception as err: # pylint: disable=broad-except
except Exception as err: # noqa: BLE001
print(color("red", "Fatal error while loading config:"), str(err))
res["except"].setdefault(ERROR_STR, []).append(str(err))
finally: