diff --git a/mypy.ini b/mypy.ini index 898c6b860f0..0f698bda35d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -2271,6 +2271,7 @@ disallow_untyped_defs = true no_implicit_optional = true warn_return_any = true warn_unreachable = true +no_implicit_reexport = true [mypy-homeassistant.components.uptime.*] check_untyped_defs = true @@ -2514,6 +2515,12 @@ no_implicit_optional = true warn_return_any = true warn_unreachable = true +[mypy-homeassistant.components.application_credentials.*] +no_implicit_reexport = true + +[mypy-homeassistant.components.spotify.*] +no_implicit_reexport = true + [mypy-homeassistant.components.diagnostics.*] no_implicit_reexport = true diff --git a/script/hassfest/mypy_config.py b/script/hassfest/mypy_config.py index 2b7c1e00f94..3517307548b 100644 --- a/script/hassfest/mypy_config.py +++ b/script/hassfest/mypy_config.py @@ -199,8 +199,11 @@ IGNORED_MODULES: Final[list[str]] = [ # Component modules which should set no_implicit_reexport = true. NO_IMPLICIT_REEXPORT_MODULES: set[str] = { "homeassistant.components", + "homeassistant.components.application_credentials.*", "homeassistant.components.diagnostics.*", + "homeassistant.components.spotify.*", "homeassistant.components.stream.*", + "homeassistant.components.update.*", } HEADER: Final = """