diff --git a/homeassistant/components/esphome/bluetooth/client.py b/homeassistant/components/esphome/bluetooth/client.py index e3730a216b7..da4d5fb3d26 100644 --- a/homeassistant/components/esphome/bluetooth/client.py +++ b/homeassistant/components/esphome/bluetooth/client.py @@ -296,7 +296,7 @@ class ESPHomeClient(BaseBleakClient): address_type=self._address_type, ) ) - except Exception: # pylint: disable=broad-except + except Exception: with contextlib.suppress(BleakError): # If the connect call throws an exception, # we need to make sure we await the future diff --git a/homeassistant/components/knx/config_flow.py b/homeassistant/components/knx/config_flow.py index 4ee46939f2d..30e48cd4d6a 100644 --- a/homeassistant/components/knx/config_flow.py +++ b/homeassistant/components/knx/config_flow.py @@ -151,7 +151,7 @@ class KNXCommonFlow(ABC, FlowHandler): # keep a reference to the generator to scan in background until user selects a connection type self._async_scan_gen = self._gatewayscanner.async_scan() try: - await self._async_scan_gen.__anext__() # pylint: disable=unnecessary-dunder-call + await self._async_scan_gen.__anext__() except StopAsyncIteration: pass # scan finished, no interfaces discovered else: diff --git a/homeassistant/core.py b/homeassistant/core.py index b5ea7fdf194..82ee5216f4f 100644 --- a/homeassistant/core.py +++ b/homeassistant/core.py @@ -2101,7 +2101,6 @@ class Config: and "language" in owner_data["language"] ): with suppress(vol.InInvalid): - # pylint: disable-next=protected-access data["language"] = cv.language( owner_data["language"]["language"] ) diff --git a/requirements_test.txt b/requirements_test.txt index 7db57fb5bcf..075eefcf892 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -14,7 +14,7 @@ freezegun==1.2.2 mock-open==1.4.0 mypy==0.991 pre-commit==2.20.0 -pylint==2.15.6 +pylint==2.15.7 pipdeptree==2.3.1 pytest-asyncio==0.20.2 pytest-aiohttp==1.0.4