diff --git a/mypy.ini b/mypy.ini index ce51adc381625..43db8459972b2 100644 --- a/mypy.ini +++ b/mypy.ini @@ -8,6 +8,7 @@ platform = linux plugins = pydantic.mypy show_error_codes = true follow_imports = normal +enable_incomplete_feature = InlineTypedDict local_partial_types = true strict_equality = true no_implicit_optional = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index ec4d4b3d3a9d7..3f6420e6c81be 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -36,9 +36,11 @@ "plugins": "pydantic.mypy", "show_error_codes": "true", "follow_imports": "normal", - # "enable_incomplete_feature": ", ".join( # noqa: FLY002 - # [] - # ), + "enable_incomplete_feature": ", ".join( # noqa: FLY002 + [ + "InlineTypedDict", + ] + ), # Enable some checks globally. "local_partial_types": "true", "strict_equality": "true",