Skip to content

Commit

Permalink
Remove stray parenthesis from fixed errors message (#2181)
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <andersk@mit.edu>

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Jan 25, 2023
1 parent 5220142 commit c00b8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruff_cli/src/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl<'a> Printer<'a> {
let s = if total == 1 { "" } else { "s" };
writeln!(
stdout,
"Found {total} error{s}) ({fixed} fixed, {remaining} remaining)."
"Found {total} error{s} ({fixed} fixed, {remaining} remaining)."
)?;
} else if remaining > 0 {
let s = if remaining == 1 { "" } else { "s" };
Expand Down

0 comments on commit c00b8b6

Please sign in to comment.