mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 10:17:51 +00:00
Update pylint to 3.0.3 (#105491)
This commit is contained in:
parent
94fd7d0353
commit
b71f488d3e
@ -405,7 +405,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
raise AbortFlow("characteristic_missing") from err
|
raise AbortFlow("characteristic_missing") from err
|
||||||
except improv_ble_errors.CommandFailed:
|
except improv_ble_errors.CommandFailed:
|
||||||
raise
|
raise
|
||||||
except Exception as err: # pylint: disable=broad-except
|
except Exception as err:
|
||||||
_LOGGER.exception("Unexpected exception")
|
_LOGGER.exception("Unexpected exception")
|
||||||
raise AbortFlow("unknown") from err
|
raise AbortFlow("unknown") from err
|
||||||
|
|
||||||
|
@ -247,7 +247,6 @@ async def async_check_config_schema(
|
|||||||
schema(config)
|
schema(config)
|
||||||
except vol.Invalid as exc:
|
except vol.Invalid as exc:
|
||||||
integration = await async_get_integration(hass, DOMAIN)
|
integration = await async_get_integration(hass, DOMAIN)
|
||||||
# pylint: disable-next=protected-access
|
|
||||||
message = conf_util.format_schema_error(
|
message = conf_util.format_schema_error(
|
||||||
hass, exc, domain, config, integration.documentation
|
hass, exc, domain, config, integration.documentation
|
||||||
)
|
)
|
||||||
|
@ -182,7 +182,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
|
|||||||
) from exc
|
) from exc
|
||||||
except TransientConnectionError as exc:
|
except TransientConnectionError as exc:
|
||||||
raise ConfigEntryNotReady from exc
|
raise ConfigEntryNotReady from exc
|
||||||
except Exception as exc: # pylint: disable=broad-except
|
except Exception as exc:
|
||||||
_LOGGER.debug(
|
_LOGGER.debug(
|
||||||
"Couldn't start coordinator (attempt %s of %s)",
|
"Couldn't start coordinator (attempt %s of %s)",
|
||||||
attempt + 1,
|
attempt + 1,
|
||||||
|
@ -14,7 +14,7 @@ mock-open==1.4.0
|
|||||||
mypy==1.7.1
|
mypy==1.7.1
|
||||||
pre-commit==3.5.0
|
pre-commit==3.5.0
|
||||||
pydantic==1.10.12
|
pydantic==1.10.12
|
||||||
pylint==3.0.2
|
pylint==3.0.3
|
||||||
pylint-per-file-ignores==1.2.1
|
pylint-per-file-ignores==1.2.1
|
||||||
pipdeptree==2.11.0
|
pipdeptree==2.11.0
|
||||||
pytest-asyncio==0.21.0
|
pytest-asyncio==0.21.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user