mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Use alphabetical order for platforms in pylint plugin (#78126)
This commit is contained in:
parent
0d2465cf0a
commit
5f2567cd43
@ -1816,6 +1816,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,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
"number": [
|
||||
ClassTypeHintMatch(
|
||||
base_class="Entity",
|
||||
@ -1882,20 +1896,6 @@ _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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user