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
1 changed files with 12 additions and 0 deletions
|
@ -379,6 +379,18 @@ _FUNCTION_MATCH: dict[str, list[TypeHintMatch]] = {
|
|||
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]] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue