diff --git a/homeassistant/components/broadlink/config_flow.py b/homeassistant/components/broadlink/config_flow.py index da8b489a98b6..8a32ba02ee88 100644 --- a/homeassistant/components/broadlink/config_flow.py +++ b/homeassistant/components/broadlink/config_flow.py @@ -188,9 +188,7 @@ class BroadlinkFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): await self.async_set_unique_id(device.mac.hex()) _LOGGER.error( - "Failed to authenticate to the device at %s: %s", - device.host[0], - err_msg, # pylint: disable=used-before-assignment + "Failed to authenticate to the device at %s: %s", device.host[0], err_msg ) return self.async_show_form(step_id="auth", errors=errors) @@ -253,9 +251,7 @@ class BroadlinkFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): return await self.async_step_finish() _LOGGER.error( - "Failed to unlock the device at %s: %s", - device.host[0], - err_msg, # pylint: disable=used-before-assignment + "Failed to unlock the device at %s: %s", device.host[0], err_msg ) else: diff --git a/requirements_test.txt b/requirements_test.txt index afef38074ee0..7c03d2e51c26 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -13,7 +13,7 @@ freezegun==1.2.1 mock-open==1.4.0 mypy==0.961 pre-commit==2.19.0 -pylint==2.14.0 +pylint==2.14.1 pipdeptree==2.2.1 pylint-strict-informational==0.1 pytest-aiohttp==0.3.0