diff --git a/homeassistant/components/ezviz/config_flow.py b/homeassistant/components/ezviz/config_flow.py index ba514879703..82203e170e5 100644 --- a/homeassistant/components/ezviz/config_flow.py +++ b/homeassistant/components/ezviz/config_flow.py @@ -17,7 +17,7 @@ from homeassistant.const import ( ) from homeassistant.core import callback -from .const import ( # pylint: disable=unused-import +from .const import ( ATTR_SERIAL, ATTR_TYPE_CAMERA, ATTR_TYPE_CLOUD, diff --git a/homeassistant/components/ialarm/config_flow.py b/homeassistant/components/ialarm/config_flow.py index 64eab90719b..8608a3f1d78 100644 --- a/homeassistant/components/ialarm/config_flow.py +++ b/homeassistant/components/ialarm/config_flow.py @@ -7,7 +7,6 @@ import voluptuous as vol from homeassistant import config_entries, core from homeassistant.const import CONF_HOST, CONF_PORT -# pylint: disable=unused-import from .const import DEFAULT_PORT, DOMAIN _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sma/config_flow.py b/homeassistant/components/sma/config_flow.py index 08c1aed2e7b..e4186ec987e 100644 --- a/homeassistant/components/sma/config_flow.py +++ b/homeassistant/components/sma/config_flow.py @@ -19,8 +19,7 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -from .const import CONF_CUSTOM, CONF_GROUP, DEVICE_INFO, GROUPS -from .const import DOMAIN # pylint: disable=unused-import +from .const import CONF_CUSTOM, CONF_GROUP, DEVICE_INFO, DOMAIN, GROUPS _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zha/config_flow.py b/homeassistant/components/zha/config_flow.py index 9c440c29cd3..a1e161a8132 100644 --- a/homeassistant/components/zha/config_flow.py +++ b/homeassistant/components/zha/config_flow.py @@ -112,7 +112,6 @@ class ZhaFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): if self._async_current_entries(): return self.async_abort(reason="single_instance_allowed") - # pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167 self.context["title_placeholders"] = { CONF_NAME: node_name, } @@ -151,7 +150,6 @@ class ZhaFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): if isinstance(radio_schema, vol.Schema): radio_schema = radio_schema.schema - # pylint: disable=no-member # https://github.com/PyCQA/pylint/issues/3167 source = self.context.get("source") for param, value in radio_schema.items(): if param in SUPPORTED_PORT_SETTINGS: diff --git a/homeassistant/util/process.py b/homeassistant/util/process.py index 6f8bafda7a7..f89b2eb96ee 100644 --- a/homeassistant/util/process.py +++ b/homeassistant/util/process.py @@ -9,7 +9,7 @@ from typing import Any def kill_subprocess( - # pylint: disable=unsubscriptable-object # https://github.com/PyCQA/pylint/issues/4034 + # pylint: disable=unsubscriptable-object # https://github.com/PyCQA/pylint/issues/4369 process: subprocess.Popen[Any], ) -> None: """Force kill a subprocess and wait for it to exit."""