From 7574b57d6be194490acfa43a00a9ec681cd9844c Mon Sep 17 00:00:00 2001 From: Zanie Date: Thu, 1 Feb 2024 08:56:44 -0600 Subject: [PATCH] Always request the concise output format during ecosystem checks (#9708) Fixes a regression in the ecosystem checks from https://github.com/astral-sh/ruff/pull/9687 which was causing them to run for multiple hours due to the size of the output. We need the concise format for comparisons. We should probably update the ecosystem checks to actually diff the full output in the future because that'd be nice. # Conflicts: # python/ruff-ecosystem/ruff_ecosystem/projects.py --- python/ruff-ecosystem/ruff_ecosystem/projects.py | 3 +++ 1 file changed, 3 insertions(+) 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: