Improve string formatting (#33643)

This commit is contained in:
springstan authored and GitHub committed 2020-04-04 20:17:11 +02:00
1 parent 71a47fc80c
commit ed71683488
10 files changed
+76 -76

No files matched your search

+1 -1
View File
@@ -76,4 +76,4 @@ def generate(integrations: Dict[str, Integration], config: Config):
"""Generate CODEOWNERS."""
codeowners_path = config.root / "CODEOWNERS"
with open(str(codeowners_path), "w") as fp:
fp.write(config.cache["codeowners"] + "\n")
fp.write(f"{config.cache['codeowners']}\n")