mirror of
https://github.com/elisspace/core.git
synced 2026-08-29 15:43:55 +00:00
Enable strict typing of diagnostics (#83053)
* Enable strict typing of diagnostics * Reformat to avoid line break
This commit is contained in:
14
mypy.ini
14
mypy.ini
@@ -673,6 +673,17 @@ disallow_untyped_defs = true
|
||||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
|
||||
[mypy-homeassistant.components.diagnostics.*]
|
||||
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
|
||||
no_implicit_reexport = true
|
||||
|
||||
[mypy-homeassistant.components.dlna_dmr.*]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
@@ -2848,9 +2859,6 @@ warn_unreachable = true
|
||||
[mypy-homeassistant.components.application_credentials.*]
|
||||
no_implicit_reexport = true
|
||||
|
||||
[mypy-homeassistant.components.diagnostics.*]
|
||||
no_implicit_reexport = true
|
||||
|
||||
[mypy-homeassistant.components.spotify.*]
|
||||
no_implicit_reexport = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user