From 99cbf21c57cc034cbad7412a09f44d40a1ba4ce3 Mon Sep 17 00:00:00 2001 From: James Smith Date: Mon, 19 Jun 2023 23:28:27 -0700 Subject: [PATCH] Add `homeassistant.components.text` to `.strict-typing` (#94890) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 39480601388..500dd076767 100644 --- a/.strict-typing +++ b/.strict-typing @@ -309,6 +309,7 @@ homeassistant.components.tag.* homeassistant.components.tailscale.* homeassistant.components.tautulli.* homeassistant.components.tcp.* +homeassistant.components.text.* homeassistant.components.threshold.* homeassistant.components.tibber.* homeassistant.components.tile.* diff --git a/mypy.ini b/mypy.ini index df689b5fc9d..68095329374 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2853,6 +2853,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.text.*] +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.threshold.*] check_untyped_defs = true disallow_incomplete_defs = true