Enable inheritance checks on ExtraStoredData (#90021)

This commit is contained in:
epenet
2023-03-21 09:51:05 +01:00
committed by GitHub
parent 43ce6f843c
commit 292feb4e24
2 changed files with 2 additions and 1 deletions

View File

@@ -680,6 +680,7 @@ _RESTORE_ENTITY_MATCH: list[TypeHintMatch] = [
TypeHintMatch(
function_name="extra_restore_state_data",
return_type=["ExtraStoredData", None],
check_return_type_inheritance=True,
),
]
_TOGGLE_ENTITY_MATCH: list[TypeHintMatch] = [