1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-29 15:43:55 +00:00

Enable strict typing of hardware (#83120)

* Enable strict typing of hardware

* Address review comment
This commit is contained in:
Erik Montnemery
2022-12-05 09:32:52 +01:00
committed by GitHub
parent ee7022dc67
commit 7e2960a973
4 changed files with 14 additions and 5 deletions

View File

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