mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
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())
|
await self.async_set_unique_id(device.mac.hex())
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Failed to authenticate to the device at %s: %s",
|
"Failed to authenticate to the device at %s: %s", device.host[0], err_msg
|
||||||
device.host[0],
|
|
||||||
err_msg, # pylint: disable=used-before-assignment
|
|
||||||
)
|
)
|
||||||
return self.async_show_form(step_id="auth", errors=errors)
|
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()
|
return await self.async_step_finish()
|
||||||
|
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Failed to unlock the device at %s: %s",
|
"Failed to unlock the device at %s: %s", device.host[0], err_msg
|
||||||
device.host[0],
|
|
||||||
err_msg, # pylint: disable=used-before-assignment
|
|
||||||
)
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -13,7 +13,7 @@ freezegun==1.2.1
|
|||||||
mock-open==1.4.0
|
mock-open==1.4.0
|
||||||
mypy==0.961
|
mypy==0.961
|
||||||
pre-commit==2.19.0
|
pre-commit==2.19.0
|
||||||
pylint==2.14.0
|
pylint==2.14.1
|
||||||
pipdeptree==2.2.1
|
pipdeptree==2.2.1
|
||||||
pylint-strict-informational==0.1
|
pylint-strict-informational==0.1
|
||||||
pytest-aiohttp==0.3.0
|
pytest-aiohttp==0.3.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user