From 4ff26b4ddd4070b2fca5303ebde49751be693273 Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Fri, 7 Oct 2022 19:48:29 -0400 Subject: [PATCH] Add strict typing to Google Sheets (#79801) --- .strict-typing | 1 + mypy.ini | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.strict-typing b/.strict-typing index 2c193bb5173..61e9c53609a 100644 --- a/.strict-typing +++ b/.strict-typing @@ -118,6 +118,7 @@ homeassistant.components.geocaching.* homeassistant.components.gios.* homeassistant.components.goalzero.* homeassistant.components.google.* +homeassistant.components.google_sheets.* homeassistant.components.greeneye_monitor.* homeassistant.components.group.* homeassistant.components.guardian.* diff --git a/mypy.ini b/mypy.ini index b63931d6c79..309068bf2c1 100644 --- a/mypy.ini +++ b/mypy.ini @@ -932,6 +932,16 @@ disallow_untyped_defs = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.google_sheets.*] +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.greeneye_monitor.*] check_untyped_defs = true disallow_incomplete_defs = true