From 1acbf55e3d4451dea3ba1a8ba1b0f11ea8779701 Mon Sep 17 00:00:00 2001 From: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:40:03 +0000 Subject: [PATCH] add strict typing --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 1196f199c78b1f..ec7d8a18021ba6 100644 --- a/.strict-typing +++ b/.strict-typing @@ -268,6 +268,7 @@ homeassistant.components.ios.* homeassistant.components.iotty.* homeassistant.components.ipp.* homeassistant.components.iqvia.* +homeassistant.components.iron_os.* homeassistant.components.islamic_prayer_times.* homeassistant.components.isy994.* homeassistant.components.jellyfin.* diff --git a/mypy.ini b/mypy.ini index 04c07d82afaf7b..a46e6721073558 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2436,6 +2436,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.iron_os.*] +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.islamic_prayer_times.*] check_untyped_defs = true disallow_incomplete_defs = true