[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-12-07 10:03:45 +00:00
parent 972deaf27a
commit edfe5819b5
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ def announce(version, template_name, doc_version):
) )
contributors_text = "\n".join(f"* {name}" for name in sorted(contributors)) + "\n" contributors_text = "\n".join(f"* {name}" for name in sorted(contributors)) + "\n"
text = template_text.format(version=version, contributors=contributors_text, doc_version=doc_version) text = template_text.format(
version=version, contributors=contributors_text, doc_version=doc_version
)
target = Path(__file__).parent.joinpath(f"../doc/en/announce/release-{version}.rst") target = Path(__file__).parent.joinpath(f"../doc/en/announce/release-{version}.rst")
target.write_text(text, encoding="UTF-8") target.write_text(text, encoding="UTF-8")