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