diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index 44ec135c3a4..60da232f938 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -985,6 +985,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = { 3: "datetime", }, return_type="list[CalendarEvent]", + mandatory=True, ), ], ),