Alexa strict type hints (#97485)

* Enable strict typing

* Adjustments for stict typing
This commit is contained in:
Jan Bouwhuis
2023-08-08 17:15:25 +02:00
committed by GitHub
parent 9910da2f3d
commit 500d9a4da0
10 changed files with 37 additions and 18 deletions

View File

@@ -291,6 +291,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.alexa.*]
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.amazon_polly.*]
check_untyped_defs = true
disallow_incomplete_defs = true