Update voluptuous to 0.15.2 (#120631)

* Update voluptuous to 0.15.1

* Fix typing issues

* Add type ignores for json result type

* Update voluptuous to 0.15.2

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Marc Mueller 2024-07-02 21:57:09 +02:00 committed by GitHub
parent 0d0ca22103
commit 0e52d149e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 13 additions and 15 deletions

View file

@ -947,7 +947,7 @@ def _log_pkg_error(
def _identify_config_schema(module: ComponentProtocol) -> str | None:
"""Extract the schema and identify list or dict based."""
if not isinstance(module.CONFIG_SCHEMA, vol.Schema):
return None
return None # type: ignore[unreachable]
schema = module.CONFIG_SCHEMA.schema