mirror of https://github.com/astral-sh/ruff
Remove leading space from C416 message (#508)
This commit is contained in:
parent
c495cef529
commit
fa9b10be72
|
|
@ -1150,7 +1150,7 @@ impl CheckKind {
|
|||
format!("Unnecessary subscript reversal of iterable within `{func}()`")
|
||||
}
|
||||
CheckKind::UnnecessaryComprehension(obj_type) => {
|
||||
format!(" Unnecessary `{obj_type}` comprehension (rewrite using `{obj_type}()`)")
|
||||
format!("Unnecessary `{obj_type}` comprehension (rewrite using `{obj_type}()`)")
|
||||
}
|
||||
CheckKind::UnnecessaryMap(obj_type) => {
|
||||
if obj_type == "generator" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue