From a00b80be95721a500fc2aad84bd4926e01ec526a Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Mon, 20 Nov 2023 15:56:24 +0100 Subject: [PATCH] Fix mypy errors --- custom_components/hon/__init__.py | 2 +- custom_components/hon/config_flow.py | 2 +- requirements_dev.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/hon/__init__.py b/custom_components/hon/__init__.py index e95e3b8..a970fc1 100644 --- a/custom_components/hon/__init__.py +++ b/custom_components/hon/__init__.py @@ -1,7 +1,7 @@ import logging from pathlib import Path -import voluptuous as vol # type: ignore[import] +import voluptuous as vol # type: ignore[import-untyped] from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from homeassistant.helpers import config_validation as cv, aiohttp_client diff --git a/custom_components/hon/config_flow.py b/custom_components/hon/config_flow.py index c1ac7c8..cfaf8d7 100644 --- a/custom_components/hon/config_flow.py +++ b/custom_components/hon/config_flow.py @@ -1,7 +1,7 @@ import logging from typing import Any -import voluptuous as vol # type: ignore[import] +import voluptuous as vol # type: ignore[import-untyped] from homeassistant import config_entries from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from homeassistant.data_entry_flow import FlowResult diff --git a/requirements_dev.txt b/requirements_dev.txt index 153a20d..15f7bba 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,4 +2,3 @@ black>=22.12 flake8>=6.0 mypy>=0.991 pylint>=2.15 -setuptools>=62.3