mirror of
https://github.com/home-assistant/core
synced 2024-07-27 18:58:57 +02:00
f434e24252
* Upgrade mypy to 0.701 * Enable strict equality checks * Strict equality error fixes * StateMachine.is_state docstring fix
24 lines
509 B
INI
24 lines
509 B
INI
[mypy]
|
|
check_untyped_defs = true
|
|
disallow_untyped_calls = true
|
|
follow_imports = silent
|
|
ignore_missing_imports = true
|
|
no_implicit_optional = true
|
|
strict_equality = true
|
|
warn_incomplete_stub = true
|
|
warn_redundant_casts = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
warn_unused_ignores = true
|
|
|
|
[mypy-homeassistant.*]
|
|
disallow_untyped_defs = true
|
|
|
|
[mypy-homeassistant.config_entries]
|
|
disallow_untyped_defs = false
|
|
|
|
[mypy-homeassistant.util.yaml]
|
|
warn_return_any = false
|
|
disallow_untyped_calls = false
|
|
|