diff --git a/python/ruff-ecosystem/ruff_ecosystem/projects.py b/python/ruff-ecosystem/ruff_ecosystem/projects.py index 4ed46565d8..c477588ef5 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/projects.py +++ b/python/ruff-ecosystem/ruff_ecosystem/projects.py @@ -209,6 +209,9 @@ class CheckOptions(CommandOptions): # Ignore internal test rules "--ignore", "RUF9", + # Use the concise format for comparing violations + "--output-format", + "concise", f"--{'' if self.preview else 'no-'}preview", ] if self.select: