1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

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

@@ -500,7 +500,7 @@ class _ScriptRun:
handler = f"_async_{action}_step"
try:
await getattr(self, handler)()
except Exception as ex: # pylint: disable=broad-except
except Exception as ex: # noqa: BLE001
self._handle_exception(
ex, continue_on_error, self._log_exceptions or log_exceptions
)