Update ruff (#176645)

Co-authored-by: Joostlek <joostlek@outlook.com>
This commit is contained in:
renovate[bot]
2026-07-17 12:43:51 +02:00
committed by GitHub
co-authored by Joostlek
parent e893a22cca
commit 0d3254deb4
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
rev: v0.15.21
hooks:
- id: ruff-check
args:
@@ -18,7 +18,6 @@ from homeassistant.const import (
CONF_HOST,
CONF_PORT,
CONF_SSL,
DEVICE_DEFAULT_NAME,
EVENT_HOMEASSISTANT_START,
EVENT_HOMEASSISTANT_STOP,
)
@@ -179,7 +178,7 @@ class EmbyDevice(MediaPlayerEntity):
@override
def name(self):
"""Return the name of the device."""
return f"Emby {self.device.name}" or DEVICE_DEFAULT_NAME
return f"Emby {self.device.name}"
@property
@override
+1 -1
View File
@@ -648,7 +648,7 @@ exclude_lines = [
]
[tool.ruff]
required-version = ">=0.15.20"
required-version = ">=0.15.21"
[tool.ruff.lint]
select = [
+1 -1
View File
@@ -1,6 +1,6 @@
# Automatically generated from .pre-commit-config.yaml by gen_requirements_all.py, do not edit
codespell==2.4.2
ruff==0.15.20
ruff==0.15.21
yamllint==1.38.0
zizmor==1.24.1