1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use literal string interpolation in core (f-strings) (#26166)

This commit is contained in:
Franck Nijhof
2019-08-23 18:53:33 +02:00
committed by Paulus Schoutsen
parent 1efa29d6ff
commit decf13b948
67 changed files with 180 additions and 246 deletions

View File

@@ -67,5 +67,5 @@ def validate(integrations: Dict[str, Integration], config):
for dep in integration.manifest["dependencies"]:
if dep not in integrations:
integration.add_error(
"dependencies", "Dependency {} does not exist".format(dep)
"dependencies", f"Dependency {dep} does not exist"
)