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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
335 changed files with 459 additions and 459 deletions

View file

@ -94,7 +94,7 @@ class LitterRobotConfigFlow(ConfigFlow, domain=DOMAIN):
return "invalid_auth"
except LitterRobotException:
return "cannot_connect"
except Exception: # pylint: disable=broad-except
except Exception:
_LOGGER.exception("Unexpected exception")
return "unknown"
return ""