mirror of https://github.com/home-assistant/core
Update pylint to 2.14.1 (#73144)
This commit is contained in:
parent
2e47cee72a
commit
a8763d7479
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue