mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Bump ruff to 0.9.8 (#139434)
This commit is contained in:
parent
744a7a0e82
commit
df594748cf
@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.9.7
|
||||
rev: v0.9.8
|
||||
hooks:
|
||||
- id: ruff
|
||||
args:
|
||||
|
@ -363,7 +363,7 @@ class Zone(collection.CollectionEntity):
|
||||
"""Return entity instance initialized from storage."""
|
||||
zone = cls(config)
|
||||
zone.editable = True
|
||||
zone._generate_attrs() # noqa: SLF001
|
||||
zone._generate_attrs()
|
||||
return zone
|
||||
|
||||
@classmethod
|
||||
@ -371,7 +371,7 @@ class Zone(collection.CollectionEntity):
|
||||
"""Return entity instance initialized from yaml."""
|
||||
zone = cls(config)
|
||||
zone.editable = False
|
||||
zone._generate_attrs() # noqa: SLF001
|
||||
zone._generate_attrs()
|
||||
return zone
|
||||
|
||||
@property
|
||||
|
2
requirements_test_pre_commit.txt
generated
2
requirements_test_pre_commit.txt
generated
@ -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.9.7
|
||||
ruff==0.9.8
|
||||
yamllint==1.35.1
|
||||
|
2
script/hassfest/docker/Dockerfile
generated
2
script/hassfest/docker/Dockerfile
generated
@ -24,7 +24,7 @@ RUN --mount=from=ghcr.io/astral-sh/uv:0.6.1,source=/uv,target=/bin/uv \
|
||||
--no-cache \
|
||||
-c /usr/src/homeassistant/homeassistant/package_constraints.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
|
||||
|
||||
LABEL "name"="hassfest"
|
||||
|
Loading…
x
Reference in New Issue
Block a user