Add BaseNotificationService to pylint checks (#77663)

* Add BaseNotificationService to pylint checks

* Remove comment
pull/77642/head
epenet 2022-09-06 12:18:29 +02:00 committed by GitHub
parent 03b4d25564
commit e5ac50fc57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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": [
ClassTypeHintMatch(
base_class="Entity",