Skip to content

Commit

Permalink
Activate mypy for velbus (home-assistant#55055)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored Aug 23, 2021
1 parent 6ad0e02 commit a5c1fbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion homeassistant/components/velbus/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"""Config flow for the Velbus platform."""
from __future__ import annotations

import velbus
import voluptuous as vol

Expand All @@ -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."""
Expand Down
3 changes: 0 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion script/hassfest/mypy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@
"homeassistant.components.tuya.*",
"homeassistant.components.unifi.*",
"homeassistant.components.upnp.*",
"homeassistant.components.velbus.*",
"homeassistant.components.vera.*",
"homeassistant.components.verisure.*",
"homeassistant.components.vizio.*",
Expand Down

0 comments on commit a5c1fbc

Please sign in to comment.