mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +00:00
clean up to fix nightly clippy warnings and dedents (#3057)
This commit is contained in:
parent
3ad257cfea
commit
35606d7b05
8 changed files with 207 additions and 218 deletions
|
@ -639,7 +639,7 @@ fn print_fixed<T: Write>(stdout: &mut T, fixed: &FxHashMap<String, FixTable>) ->
|
|||
);
|
||||
|
||||
let s = if total == 1 { "" } else { "s" };
|
||||
let label = format!("Fixed {total} error{s}:", total = total, s = s);
|
||||
let label = format!("Fixed {total} error{s}:");
|
||||
writeln!(stdout, "{}", label.bold().green())?;
|
||||
|
||||
for (filename, table) in fixed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue