mirror of
https://github.com/home-assistant/core.git
synced 2026-11-06 13:41:27 -04:00
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:
co-authored by
copilot-swe-agent[bot]
frenck
parent
a19c2ee9ef
commit
24dadf3668
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user