mirror of
https://github.com/elisspace/core.git
synced 2026-09-29 13:59:54 +00:00
Enforce strict typing for Notion (#53355)
* Enforce strict typing for Notion * Code review
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user