Skip to content

Commit

Permalink
Update pylint to 2.14.1 (home-assistant#73144)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Jun 7, 2022
1 parent 2e47cee commit a8763d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions homeassistant/components/broadlink/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,7 @@ async def async_step_auth(self):

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)

Expand Down Expand Up @@ -253,9 +251,7 @@ async def async_step_unlock(self, user_input=None):
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:
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8763d7

Please sign in to comment.