From 446ca2e9ad125a31e85c11097c8c9053a5a1f54d Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com> Date: Sun, 10 Sep 2023 12:16:59 +0200 Subject: [PATCH] Enable strict typing in Plugwise (#100033) Add plugwise to .strict-typing --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index ee97deb9af4..852ebbc0420 100644 --- a/.strict-typing +++ b/.strict-typing @@ -257,6 +257,7 @@ homeassistant.components.peco.* homeassistant.components.persistent_notification.* homeassistant.components.pi_hole.* homeassistant.components.ping.* +homeassistant.components.plugwise.* homeassistant.components.powerwall.* homeassistant.components.private_ble_device.* homeassistant.components.proximity.* diff --git a/mypy.ini b/mypy.ini index eda6f35cdfa..6bade2728f4 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2332,6 +2332,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.plugwise.*] +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.powerwall.*] check_untyped_defs = true disallow_incomplete_defs = true