From a8763d74798ecc95d4a2b323235aabea5463da66 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 7 Jun 2022 07:57:41 +0200 Subject: [PATCH] Update pylint to 2.14.1 (#73144) --- homeassistant/components/broadlink/config_flow.py | 8 ++------ requirements_test.txt | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/broadlink/config_flow.py b/homeassistant/components/broadlink/config_flow.py index da8b489a98b..8a32ba02ee8 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 afef38074ee..7c03d2e51c2 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