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

Activate mypy for tuya (#55057)

This commit is contained in:
jan iversen 2021-08-23 21:30:04 +02:00 committed by GitHub
parent 791ccca042
commit d5c26aece1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

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

View File

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

View File

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