From 8a5b6fefd171d02c8283cf0e2dd2254abbe905cb Mon Sep 17 00:00:00 2001 From: davfsa Date: Wed, 7 Aug 2024 02:34:30 +0200 Subject: [PATCH] Improve codestyle --- src/mkdocs_towncrier/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkdocs_towncrier/__init__.py b/src/mkdocs_towncrier/__init__.py index 419aa97..c7755f3 100644 --- a/src/mkdocs_towncrier/__init__.py +++ b/src/mkdocs_towncrier/__init__.py @@ -53,8 +53,8 @@ def _generate_changelog_draft(version_string: str) -> str: msg = ( f"Command `{" ".join(command)}` exited unexpectedly\n" f"Return code: {response.returncode}\n" - f"stdout:\n{textwrap.indent(stdout, " "*4)}\n" - f"stderr:\n{textwrap.indent(stderr, " "*4)}\n" + f"stdout:\n{textwrap.indent(stdout, " " * 4)}\n" + f"stderr:\n{textwrap.indent(stderr, " " * 4)}\n" ) raise mkdocs.exceptions.BuildError(msg)