mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-13 22:06:42 +00:00
Sort statistics by count (#3748)
This commit is contained in:
parent
e603382cf0
commit
cd75b57036
1 changed files with 1 additions and 0 deletions
|
@ -504,6 +504,7 @@ impl Printer {
|
|||
.iter()
|
||||
.any(|message| message.kind.fixable),
|
||||
})
|
||||
.sorted_by_key(|statistic| Reverse(statistic.count))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let mut stdout = BufWriter::new(io::stdout().lock());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue