1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-18 14:25:48 +01:00

Bump black from 23.12.1 to 24.2.0 ()

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
dependabot[bot]
2024-02-21 15:53:50 +13:00
committed by GitHub
parent 4d8b5edb1c
commit 07c3ee75e5
14 changed files with 24 additions and 13 deletions

@ -849,9 +849,11 @@ def convert(schema, config_var, path):
config_var["id_type"] = {
"class": str(data.base),
"parents": [str(x.base) for x in parents]
if isinstance(parents, list)
else None,
"parents": (
[str(x.base) for x in parents]
if isinstance(parents, list)
else None
),
}
elif schema_type == "use_id":
if inspect.ismodule(data):