mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
When only unsafe fixes are available, include note that no fixes are available first (#7950)
I believe this is a bit clearer. When no fixes are available (safe _and_ unsafe) we will not include a message at all.
This commit is contained in:
parent
8255e4ed6c
commit
ddffadb4b0
2 changed files with 6 additions and 6 deletions
|
@ -161,7 +161,7 @@ impl Printer {
|
|||
"es"
|
||||
};
|
||||
writeln!(writer,
|
||||
"{} hidden fix{es} can be enabled with the `--unsafe-fixes` option.",
|
||||
"No fixes available ({} hidden fix{es} can be enabled with the `--unsafe-fixes` option).",
|
||||
fixables.unapplicable_unsafe
|
||||
)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue