From 9a8bd09ae689341abcc00836134a22bbbe71f898 Mon Sep 17 00:00:00 2001 From: Zanie Date: Thu, 26 Oct 2023 16:17:32 -0500 Subject: [PATCH] Fix table --- 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 3c94300672..cd5225257a 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/check.py +++ b/python/ruff-ecosystem/ruff_ecosystem/check.py @@ -189,7 +189,7 @@ def markdown_check_result(result: Result) -> str: # Display a summary table of changed rules table_lines = [] table_lines.append("| code | total | + violation | - violation | + fix | - fix |") - table_lines.append("| ---- | ------- | --------- | -------- | ----- | ") + table_lines.append("| ---- | ------- | --------- | -------- | ----- | ---- |") for rule, total in sorted( all_rule_changes.total_changes_by_rule(), key=lambda item: item[1], # Sort by the total changes