1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00

Activate mypy for velbus (#55055)

This commit is contained in:
jan iversen 2021-08-23 20:57:37 +02:00 committed by GitHub
parent 6ad0e0220a
commit a5c1fbcb1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -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."""

View File

@ -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

View File

@ -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.*",