Avoid raw string in device_tracker source_type (#126601)

This commit is contained in:
epenet
2024-09-24 23:01:47 +02:00
committed by GitHub
parent 3d4ac7ca63
commit 2a0c779a02
2 changed files with 2 additions and 2 deletions

View File

@@ -1318,7 +1318,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="source_type",
return_type=["SourceType", "str"],
return_type="SourceType",
),
],
),