Skip to content

Commit

Permalink
Always request the concise output format during ecosystem checks (#9708)
Browse files Browse the repository at this point in the history
Fixes a regression in the ecosystem checks from
#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
  • Loading branch information
zanieb committed Feb 1, 2024
1 parent 7c644d5 commit 7574b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/ruff-ecosystem/ruff_ecosystem/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ def to_ruff_args(self) -> list[str]:
# 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:
Expand Down

0 comments on commit 7574b57

Please sign in to comment.