mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add BaseNotificationService to pylint checks (#77663)
* Add BaseNotificationService to pylint checks * Remove comment
This commit is contained in:
parent
03b4d25564
commit
e5ac50fc57
@ -1873,6 +1873,20 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
"notify": [
|
||||||
|
ClassTypeHintMatch(
|
||||||
|
base_class="BaseNotificationService",
|
||||||
|
matches=[
|
||||||
|
TypeHintMatch(
|
||||||
|
function_name="send_message",
|
||||||
|
arg_types={1: "str"},
|
||||||
|
kwargs_type="Any",
|
||||||
|
return_type=None,
|
||||||
|
has_async_counterpart=True,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
"remote": [
|
"remote": [
|
||||||
ClassTypeHintMatch(
|
ClassTypeHintMatch(
|
||||||
base_class="Entity",
|
base_class="Entity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user