From d7a9b7a4ab2bbac2b86cf0351c1a901f86d5d74b Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 19 Jan 2024 13:36:44 +0100 Subject: [PATCH] Enable strict typing for map (#108368) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 3f1574c18d760..98b795b4bc6b4 100644 --- a/.strict-typing +++ b/.strict-typing @@ -274,6 +274,7 @@ homeassistant.components.london_underground.* homeassistant.components.lookin.* homeassistant.components.luftdaten.* homeassistant.components.mailbox.* +homeassistant.components.map.* homeassistant.components.mastodon.* homeassistant.components.matrix.* homeassistant.components.matter.* diff --git a/mypy.ini b/mypy.ini index 460e964de9567..a2b37c6bf47a9 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2501,6 +2501,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.map.*] +check_untyped_defs = true +disallow_incomplete_defs = true +disallow_subclassing_any = true +disallow_untyped_calls = true +disallow_untyped_decorators = true +disallow_untyped_defs = true +warn_return_any = true +warn_unreachable = true + [mypy-homeassistant.components.mastodon.*] check_untyped_defs = true disallow_incomplete_defs = true