Enable additional flake8-bugbear ruff rules (#170494)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
This commit is contained in:
Franck Nijhof
2026-05-13 18:17:23 +02:00
committed by GitHub
co-authored by copilot-swe-agent[bot] frenck
parent a19c2ee9ef
commit 24dadf3668
12 changed files with 42 additions and 22 deletions
+3 -3
View File
@@ -328,11 +328,11 @@ YAML_CONFIG_ALL_TEMPLATES = {
}
async def init_integration( # pylint: disable=dangerous-default-value
async def init_integration(
hass: HomeAssistant,
*,
title: str = "Select value SQL query",
config: dict[str, Any] = {},
config: dict[str, Any] | None = None,
options: dict[str, Any] | None = None,
entry_id: str = "1",
source: str = SOURCE_USER,
@@ -347,7 +347,7 @@ async def init_integration( # pylint: disable=dangerous-default-value
title=title,
domain=DOMAIN,
source=source,
data=config,
data=config or {},
options=options,
entry_id=entry_id,
version=2,