From b407792bd17cc119870c7517e0023353db59862c Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 22 May 2025 00:57:39 +0200 Subject: [PATCH] Mark geo_location methods and properties as mandatory in pylint plugin (#145313) --- pylint/plugins/hass_enforce_type_hints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index f618494d389..29fa1daf47c 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -1660,6 +1660,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = { TypeHintMatch( function_name="source", return_type="str", + mandatory=True, ), TypeHintMatch( function_name="distance",