From bd97f59395e38ac44ebc6d69943189fea43fd699 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 2 Dec 2022 15:56:48 +0100 Subject: [PATCH] Enable strict typing of hardkernel (#83122) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 439968de6c2..5e013b24bd0 100644 --- a/.strict-typing +++ b/.strict-typing @@ -128,6 +128,7 @@ homeassistant.components.google_sheets.* homeassistant.components.greeneye_monitor.* homeassistant.components.group.* homeassistant.components.guardian.* +homeassistant.components.hardkernel.* homeassistant.components.history.* homeassistant.components.homeassistant.triggers.event homeassistant.components.homeassistant_alerts.* diff --git a/mypy.ini b/mypy.ini index c628d5d9b5a..ca72028b273 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1034,6 +1034,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.hardkernel.*] +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.history.*] check_untyped_defs = true disallow_incomplete_defs = true