Improve string formatting v2 (#33645)
* Improve string formatting v2 * Improve string formatting v3 * Address review comments
This commit is contained in:
1 parent
d2e70eb967
commit
dde93304d3
28 files changed
+42
-40
No files matched your search
@@ -52,7 +52,7 @@ def generate_and_validate(integrations: Dict[str, Integration]):
|
||||
"homeassistant/components/{}/* {}".format(domain, " ".join(codeowners))
|
||||
)
|
||||
|
||||
parts.append("\n" + INDIVIDUAL_FILES.strip())
|
||||
parts.append(f"\n{INDIVIDUAL_FILES.strip()}")
|
||||
|
||||
return "\n".join(parts)
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ def main():
|
||||
|
||||
add_msg(
|
||||
f"CONFIG_SCHEMA {schema_type}",
|
||||
module_name + " " + color("cyan", str(schema)[:60]),
|
||||
f"{module_name} {color('cyan', str(schema)[:60])}",
|
||||
)
|
||||
|
||||
for key in sorted(msg):
|
||||
|
||||
Reference in new issue
Block a user