forked from home-assistant/core
Activate mypy for Solar-Log (#53952)
This commit is contained in:
@@ -31,7 +31,7 @@ class SolarLogConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""Initialize the config flow."""
|
"""Initialize the config flow."""
|
||||||
self._errors = {}
|
self._errors: dict = {}
|
||||||
|
|
||||||
def _host_in_configuration_exists(self, host) -> bool:
|
def _host_in_configuration_exists(self, host) -> bool:
|
||||||
"""Return True if host exists in configuration."""
|
"""Return True if host exists in configuration."""
|
||||||
|
3
mypy.ini
3
mypy.ini
@@ -1643,9 +1643,6 @@ ignore_errors = true
|
|||||||
[mypy-homeassistant.components.solaredge.*]
|
[mypy-homeassistant.components.solaredge.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.solarlog.*]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.somfy.*]
|
[mypy-homeassistant.components.somfy.*]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
@@ -140,7 +140,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||||||
"homeassistant.components.smarttub.*",
|
"homeassistant.components.smarttub.*",
|
||||||
"homeassistant.components.smarty.*",
|
"homeassistant.components.smarty.*",
|
||||||
"homeassistant.components.solaredge.*",
|
"homeassistant.components.solaredge.*",
|
||||||
"homeassistant.components.solarlog.*",
|
|
||||||
"homeassistant.components.somfy.*",
|
"homeassistant.components.somfy.*",
|
||||||
"homeassistant.components.somfy_mylink.*",
|
"homeassistant.components.somfy_mylink.*",
|
||||||
"homeassistant.components.sonarr.*",
|
"homeassistant.components.sonarr.*",
|
||||||
|
Reference in New Issue
Block a user