1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Bump ruff to 0.15.1 (#162903)

This commit is contained in:
Thomas55555
2026-02-13 19:43:37 +01:00
committed by GitHub
parent ff4ff98e54
commit e80bb871e4
6 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0
rev: v0.15.1
hooks:
- id: ruff-check
args:

View File

@@ -5280,7 +5280,7 @@ async def async_get_broker_settings( # noqa: C901
)
schema = vol.Schema({cv.string: cv.template})
schema(validated_user_input[CONF_WS_HEADERS])
except (*JSON_DECODE_EXCEPTIONS, vol.MultipleInvalid): # fmt: off
except (*JSON_DECODE_EXCEPTIONS, vol.MultipleInvalid):
errors["base"] = "bad_ws_headers"
return False
return True

View File

@@ -233,5 +233,5 @@ async def async_get_installed_packages() -> list[InstalledPackage]:
try:
return cast(list[InstalledPackage], json_loads_array(stdout.decode()))
except (*JSON_DECODE_EXCEPTIONS, ValueError): # fmt: off
except (*JSON_DECODE_EXCEPTIONS, ValueError):
return []

View File

@@ -675,7 +675,7 @@ exclude_lines = [
]
[tool.ruff]
required-version = ">=0.15.0"
required-version = ">=0.15.1"
[tool.ruff.lint]
select = [

View File

@@ -1,5 +1,5 @@
# Automatically generated from .pre-commit-config.yaml by gen_requirements_all.py, do not edit
codespell==2.4.1
ruff==0.15.0
ruff==0.15.1
yamllint==1.37.1

View File

@@ -26,7 +26,7 @@ RUN --mount=from=ghcr.io/astral-sh/uv:0.9.26,source=/uv,target=/bin/uv \
-r /usr/src/homeassistant/requirements.txt \
pipdeptree==2.26.1 \
tqdm==4.67.1 \
ruff==0.15.0
ruff==0.15.1
LABEL "name"="hassfest"
LABEL "maintainer"="Home Assistant <hello@home-assistant.io>"