Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and davidt committed Apr 17, 2024
1 parent e00bbcd commit 0d450e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/templatetags/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0d450e5

Please sign in to comment.