1
mirror of https://github.com/home-assistant/core synced 2024-07-15 09:42:11 +02:00

Update pylint to 3.0.3 (#105491)

This commit is contained in:
Marc Mueller 2023-12-11 17:04:07 +01:00 committed by GitHub
parent 94fd7d0353
commit b71f488d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

@ -405,7 +405,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
raise AbortFlow("characteristic_missing") from err
except improv_ble_errors.CommandFailed:
raise
except Exception as err: # pylint: disable=broad-except
except Exception as err:
_LOGGER.exception("Unexpected exception")
raise AbortFlow("unknown") from err

View File

@ -247,7 +247,6 @@ async def async_check_config_schema(
schema(config)
except vol.Invalid as exc:
integration = await async_get_integration(hass, DOMAIN)
# pylint: disable-next=protected-access
message = conf_util.format_schema_error(
hass, exc, domain, config, integration.documentation
)

View File

@ -182,7 +182,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
) from exc
except TransientConnectionError as exc:
raise ConfigEntryNotReady from exc
except Exception as exc: # pylint: disable=broad-except
except Exception as exc:
_LOGGER.debug(
"Couldn't start coordinator (attempt %s of %s)",
attempt + 1,

View File

@ -14,7 +14,7 @@ mock-open==1.4.0
mypy==1.7.1
pre-commit==3.5.0
pydantic==1.10.12
pylint==3.0.2
pylint==3.0.3
pylint-per-file-ignores==1.2.1
pipdeptree==2.11.0
pytest-asyncio==0.21.0