Enforce strict typing for Notion (#53355)

* Enforce strict typing for Notion

* Code review
This commit is contained in:
Aaron Bach
2021-07-23 13:00:02 -06:00
committed by GitHub
parent 91018d0451
commit 4b353917f5
4 changed files with 24 additions and 10 deletions
+11 -3
View File
@@ -726,6 +726,17 @@ no_implicit_optional = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.notion.*]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.number.*]
check_untyped_defs = true
disallow_incomplete_defs = true
@@ -1422,9 +1433,6 @@ ignore_errors = true
[mypy-homeassistant.components.norway_air.*]
ignore_errors = true
[mypy-homeassistant.components.notion.*]
ignore_errors = true
[mypy-homeassistant.components.nsw_fuel_station.*]
ignore_errors = true