mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Activate mypy for velbus (#55055)
This commit is contained in:
parent
6ad0e0220a
commit
a5c1fbcb1a
@ -1,4 +1,6 @@
|
||||
"""Config flow for the Velbus platform."""
|
||||
from __future__ import annotations
|
||||
|
||||
import velbus
|
||||
import voluptuous as vol
|
||||
|
||||
@ -25,7 +27,7 @@ class VelbusConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""Initialize the velbus config flow."""
|
||||
self._errors = {}
|
||||
self._errors: dict[str, str] = {}
|
||||
|
||||
def _create_device(self, name: str, prt: str):
|
||||
"""Create an entry async."""
|
||||
|
3
mypy.ini
3
mypy.ini
@ -1649,9 +1649,6 @@ ignore_errors = true
|
||||
[mypy-homeassistant.components.upnp.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.velbus.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.vera.*]
|
||||
ignore_errors = true
|
||||
|
||||
|
@ -142,7 +142,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||
"homeassistant.components.tuya.*",
|
||||
"homeassistant.components.unifi.*",
|
||||
"homeassistant.components.upnp.*",
|
||||
"homeassistant.components.velbus.*",
|
||||
"homeassistant.components.vera.*",
|
||||
"homeassistant.components.verisure.*",
|
||||
"homeassistant.components.vizio.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user