Skip to content

Commit

Permalink
Bump ruff to 0.9.8 (home-assistant#139434)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Feb 27, 2025
1 parent 744a7a0 commit df59474
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/zone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,15 @@ def from_storage(cls, config: ConfigType) -> Self:
"""Return entity instance initialized from storage."""
zone = cls(config)
zone.editable = True
zone._generate_attrs() # noqa: SLF001
zone._generate_attrs()
return zone

@classmethod
def from_yaml(cls, config: ConfigType) -> Self:
"""Return entity instance initialized from yaml."""
zone = cls(config)
zone.editable = False
zone._generate_attrs() # noqa: SLF001
zone._generate_attrs()
return zone

@property
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_pre_commit.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion script/hassfest/docker/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df59474

Please sign in to comment.