Use literal string interpolation in core (f-strings) (#26166)
This commit is contained in:
1 parent
1efa29d6ff
commit
decf13b948
67 files changed
+180
-246
No files matched your search
@@ -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"
|
||||
)
|
||||
Reference in new issue
Block a user