Activate mypy for tuya (#55057)
parent
791ccca042
commit
d5c26aece1
|
@ -1,5 +1,8 @@
|
|||
"""Config flow for Tuya."""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
from tuyaha import TuyaApi
|
||||
from tuyaha.tuyaapi import (
|
||||
|
@ -155,7 +158,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
|||
"""Initialize options flow."""
|
||||
self.config_entry = config_entry
|
||||
self._conf_devs_id = None
|
||||
self._conf_devs_option = {}
|
||||
self._conf_devs_option: dict[str, Any] = {}
|
||||
self._form_error = None
|
||||
|
||||
def _get_form_error(self):
|
||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -1640,9 +1640,6 @@ ignore_errors = true
|
|||
[mypy-homeassistant.components.tplink.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.tuya.*]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.unifi.*]
|
||||
ignore_errors = true
|
||||
|
||||
|
|
|
@ -139,7 +139,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||
"homeassistant.components.todoist.*",
|
||||
"homeassistant.components.toon.*",
|
||||
"homeassistant.components.tplink.*",
|
||||
"homeassistant.components.tuya.*",
|
||||
"homeassistant.components.unifi.*",
|
||||
"homeassistant.components.upnp.*",
|
||||
"homeassistant.components.vera.*",
|
||||
|
|
Loading…
Reference in New Issue