Bump ruff to 0.9.8 (#139434)

This commit is contained in:
Joost Lekkerkerker 2025-02-27 16:00:24 +01:00 committed by GitHub
parent 744a7a0e82
commit df594748cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -363,7 +363,7 @@ class Zone(collection.CollectionEntity):
"""Return entity instance initialized from storage.""" """Return entity instance initialized from storage."""
zone = cls(config) zone = cls(config)
zone.editable = True zone.editable = True
zone._generate_attrs() # noqa: SLF001 zone._generate_attrs()
return zone return zone
@classmethod @classmethod
@ -371,7 +371,7 @@ class Zone(collection.CollectionEntity):
"""Return entity instance initialized from yaml.""" """Return entity instance initialized from yaml."""
zone = cls(config) zone = cls(config)
zone.editable = False zone.editable = False
zone._generate_attrs() # noqa: SLF001 zone._generate_attrs()
return zone return zone
@property @property

View File

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

View File

@ -24,7 +24,7 @@ RUN --mount=from=ghcr.io/astral-sh/uv:0.6.1,source=/uv,target=/bin/uv \
--no-cache \ --no-cache \
-c /usr/src/homeassistant/homeassistant/package_constraints.txt \ -c /usr/src/homeassistant/homeassistant/package_constraints.txt \
-r /usr/src/homeassistant/requirements.txt \ -r /usr/src/homeassistant/requirements.txt \
stdlib-list==0.10.0 pipdeptree==2.25.0 tqdm==4.67.1 ruff==0.9.7 \ stdlib-list==0.10.0 pipdeptree==2.25.0 tqdm==4.67.1 ruff==0.9.8 \
PyTurboJPEG==1.7.5 go2rtc-client==0.1.2 ha-ffmpeg==3.2.2 hassil==2.2.3 home-assistant-intents==2025.2.26 mutagen==1.47.0 pymicro-vad==1.0.1 pyspeex-noise==1.0.2 PyTurboJPEG==1.7.5 go2rtc-client==0.1.2 ha-ffmpeg==3.2.2 hassil==2.2.3 home-assistant-intents==2025.2.26 mutagen==1.47.0 pymicro-vad==1.0.1 pyspeex-noise==1.0.2
LABEL "name"="hassfest" LABEL "name"="hassfest"