Improve string formatting v5 (#33697)

* Improve string formatting v5

* Address review comments
This commit is contained in:
springstan authored and GitHub committed 2020-04-05 17:48:55 +02:00
1 parent 39336d3ea3
commit fca90a8ddc
46 files changed
+221 -252

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ def validate_services(integration: Integration):
SERVICES_SCHEMA(data)
except vol.Invalid as err:
integration.add_error(
"services", "Invalid services.yaml: {}".format(humanize_error(data, err))
"services", f"Invalid services.yaml: {humanize_error(data, err)}"
)