From 0d450e5346b7f191e346a122e36ad433b2100558 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 05:52:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pipeline/templatetags/pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline/templatetags/pipeline.py b/pipeline/templatetags/pipeline.py index 439b78e9..3f38cca1 100644 --- a/pipeline/templatetags/pipeline.py +++ b/pipeline/templatetags/pipeline.py @@ -114,7 +114,8 @@ def render_error(self, package_type, package_name, e): error_output = re.sub( re.compile(r"(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]"), "", - e.error_output) + e.error_output, + ) return render_to_string( "pipeline/compile_error.html",