mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +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": [
|
"number": [
|
||||||
ClassTypeHintMatch(
|
ClassTypeHintMatch(
|
||||||
base_class="Entity",
|
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": [
|
"remote": [
|
||||||
ClassTypeHintMatch(
|
ClassTypeHintMatch(
|
||||||
base_class="Entity",
|
base_class="Entity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user