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 (#6221)
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:
.pre-commit-config.yaml
esphome
requirements_test.txtscript
tests
@ -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):
|
||||
|
Reference in New Issue
Block a user