Activate mypy for Solar-Log ()

pull/54043/head^2
Milan Meulemans 2021-08-10 10:56:34 +02:00 committed by GitHub
parent 355a067d84
commit 814411dc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions
homeassistant/components/solarlog
script/hassfest

View File

@ -31,7 +31,7 @@ class SolarLogConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
def __init__(self) -> None:
"""Initialize the config flow."""
self._errors = {}
self._errors: dict = {}
def _host_in_configuration_exists(self, host) -> bool:
"""Return True if host exists in configuration."""

View File

@ -1643,9 +1643,6 @@ ignore_errors = true
[mypy-homeassistant.components.solaredge.*]
ignore_errors = true
[mypy-homeassistant.components.solarlog.*]
ignore_errors = true
[mypy-homeassistant.components.somfy.*]
ignore_errors = true

View File

@ -140,7 +140,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.smarttub.*",
"homeassistant.components.smarty.*",
"homeassistant.components.solaredge.*",
"homeassistant.components.solarlog.*",
"homeassistant.components.somfy.*",
"homeassistant.components.somfy_mylink.*",
"homeassistant.components.sonarr.*",