From 2270485c09e48406199b448bcfb3f6ef51cccf87 Mon Sep 17 00:00:00 2001 From: Zanie Date: Thu, 26 Oct 2023 17:02:25 -0500 Subject: [PATCH] Display errors in code fences --- python/ruff-ecosystem/ruff_ecosystem/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ruff-ecosystem/ruff_ecosystem/check.py b/python/ruff-ecosystem/ruff_ecosystem/check.py index 83e65261b2..5b55a9671a 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/check.py +++ b/python/ruff-ecosystem/ruff_ecosystem/check.py @@ -186,7 +186,7 @@ def markdown_check_result(result: Result) -> str: lines.extend( markdown_project_section( title="error", - content=str(error), + content=f"```\n{error}\n```", options=project.check_options, project=project, )