mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00:00
![]() ## Summary **Don't minimize files that don't match in the first place** This adds a sanity check to the minimizer script that the input matches the condition (e.g. unstable formatting). Otherwise we run through all checks with the whole file, which is extremely slow. It's more reasonable for downstream usage to write an empty string to the output file instead. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |