mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Add more to no implicit reexport modules (#71947)
This commit is contained in:
parent
81259f4eef
commit
c7b4aca998
7
mypy.ini
7
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
|
||||
|
||||
|
@ -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 = """
|
||||
|
Loading…
x
Reference in New Issue
Block a user