From 00c356e1cea459d3d3f68b3e825dcc7783a65297 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Sun, 12 Feb 2023 19:00:35 +0100 Subject: [PATCH] Enable strict typing for the dormakaba_dkey integration (#87934) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 1641398a8cb..8555ee6d47a 100644 --- a/.strict-typing +++ b/.strict-typing @@ -99,6 +99,7 @@ homeassistant.components.dhcp.* homeassistant.components.diagnostics.* homeassistant.components.dlna_dmr.* homeassistant.components.dnsip.* +homeassistant.components.dormakaba_dkey.* homeassistant.components.dsmr.* homeassistant.components.dunehd.* homeassistant.components.efergy.* diff --git a/mypy.ini b/mypy.ini index f88fcea240c..cd11c68cf82 100644 --- a/mypy.ini +++ b/mypy.ini @@ -752,6 +752,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.dormakaba_dkey.*] +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.dsmr.*] check_untyped_defs = true disallow_incomplete_defs = true