mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 02:24:51 -05:00
co-authored by
Joostlek
parent
e893a22cca
commit
0d3254deb4
@@ -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
@@ -648,7 +648,7 @@ exclude_lines = [
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
required-version = ">=0.15.20"
|
||||
required-version = ">=0.15.21"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
||||
Generated
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user