mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Add notify get_service to pylint checks (#77643)
Add notify get_service to pylint checks (take 3)
This commit is contained in:
parent
3327493ab7
commit
03b4d25564
@ -379,6 +379,18 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
|
|||||||
return_type=_Special.UNDEFINED,
|
return_type=_Special.UNDEFINED,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"notify": [
|
||||||
|
TypeHintMatch(
|
||||||
|
function_name="get_service",
|
||||||
|
arg_types={
|
||||||
|
0: "HomeAssistant",
|
||||||
|
1: "ConfigType",
|
||||||
|
2: "DiscoveryInfoType | None",
|
||||||
|
},
|
||||||
|
return_type=_Special.UNDEFINED,
|
||||||
|
has_async_counterpart=True,
|
||||||
|
),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
_CLASS_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
_CLASS_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user