From f1466a3b8651c425bd257f694bb48b67e494aef9 Mon Sep 17 00:00:00 2001 From: Rami Mosleh Date: Tue, 27 Dec 2022 10:19:24 +0200 Subject: [PATCH] Add strict typing to simplepush (#84598) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 5703c82fe93..14e4ff002be 100644 --- a/.strict-typing +++ b/.strict-typing @@ -257,6 +257,7 @@ homeassistant.components.sensirion_ble.* homeassistant.components.sensor.* homeassistant.components.senz.* homeassistant.components.shelly.* +homeassistant.components.simplepush.* homeassistant.components.simplisafe.* homeassistant.components.skybell.* homeassistant.components.slack.* diff --git a/mypy.ini b/mypy.ini index 3f439f18839..4f3a7c87101 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2324,6 +2324,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.simplepush.*] +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.simplisafe.*] check_untyped_defs = true disallow_incomplete_defs = true