mirror of https://github.com/home-assistant/core
Merge 081873ff5f
into 45d44ac49e
This commit is contained in:
commit
889fe5e142
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.4.2
|
||||
rev: v0.4.3
|
||||
hooks:
|
||||
- id: ruff
|
||||
args:
|
||||
|
|
|
@ -651,10 +651,9 @@ def websocket_delete_all_refresh_tokens(
|
|||
continue
|
||||
try:
|
||||
hass.auth.async_remove_refresh_token(token)
|
||||
except Exception as err: # pylint: disable=broad-except
|
||||
except Exception: # pylint: disable=broad-except
|
||||
getLogger(__name__).exception(
|
||||
"During refresh token removal, the following error occurred: %s",
|
||||
err,
|
||||
"During refresh token removal, the following error occurred"
|
||||
)
|
||||
remove_failed = True
|
||||
|
||||
|
|
|
@ -659,7 +659,7 @@ filterwarnings = [
|
|||
]
|
||||
|
||||
[tool.ruff]
|
||||
required-version = ">=0.4.2"
|
||||
required-version = ">=0.4.3"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Automatically generated from .pre-commit-config.yaml by gen_requirements_all.py, do not edit
|
||||
|
||||
codespell==2.2.6
|
||||
ruff==0.4.2
|
||||
ruff==0.4.3
|
||||
yamllint==1.35.1
|
||||
|
|
Loading…
Reference in New Issue