Enable Ruff RSE (#113695)

This commit is contained in:
Sid 2024-03-18 00:40:38 +01:00 committed by GitHub
parent 685553d17d
commit 82a60fe8ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
155 changed files with 325 additions and 324 deletions

View file

@ -112,7 +112,7 @@ async def websocket_supervisor_api(
if not connection.user.is_admin and not WS_NO_ADMIN_ENDPOINTS.match(
msg[ATTR_ENDPOINT]
):
raise Unauthorized()
raise Unauthorized
supervisor: HassIO = hass.data[DOMAIN]
command = msg[ATTR_ENDPOINT]