From 557239800a80c996488c66f26cd56e1ae08e2b1f Mon Sep 17 00:00:00 2001 From: Joachim Jablon Date: Wed, 6 Dec 2023 16:42:56 +0100 Subject: [PATCH 1/2] Update subprocess.py --- coverage_comment/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage_comment/subprocess.py b/coverage_comment/subprocess.py index f3a108cc..c4cb531a 100644 --- a/coverage_comment/subprocess.py +++ b/coverage_comment/subprocess.py @@ -26,7 +26,7 @@ def run(*args, path: pathlib.Path, **kwargs) -> str: **kwargs, ).stdout except subprocess.CalledProcessError as exc: - log.debug(f"Command failed: {args=} {path=} {kwargs=} {exc.stderr=}") + log.debug(f"Command failed: {args=} {path=} {kwargs=} {exc.stderr=} {exc.returncode=}") raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc From 05caa63e474127ed005ebd36e1e99a58ada29dfc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:44:33 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- coverage_comment/subprocess.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coverage_comment/subprocess.py b/coverage_comment/subprocess.py index c4cb531a..7a6a28e7 100644 --- a/coverage_comment/subprocess.py +++ b/coverage_comment/subprocess.py @@ -26,7 +26,9 @@ def run(*args, path: pathlib.Path, **kwargs) -> str: **kwargs, ).stdout except subprocess.CalledProcessError as exc: - log.debug(f"Command failed: {args=} {path=} {kwargs=} {exc.stderr=} {exc.returncode=}") + log.debug( + f"Command failed: {args=} {path=} {kwargs=} {exc.stderr=} {exc.returncode=}" + ) raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc