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
This commit is contained in:
Zanie 2024-02-01 08:56:44 -06:00
parent 7c644d5e6f
commit 7574b57d6b
1 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,9 @@ class CheckOptions(CommandOptions):
# Ignore internal test rules # Ignore internal test rules
"--ignore", "--ignore",
"RUF9", "RUF9",
# Use the concise format for comparing violations
"--output-format",
"concise",
f"--{'' if self.preview else 'no-'}preview", f"--{'' if self.preview else 'no-'}preview",
] ]
if self.select: if self.select: