mirror of https://github.com/astral-sh/ruff
Fix collapsed message (#372)
This commit is contained in:
parent
bbe0220c72
commit
f060248656
|
|
@ -296,7 +296,7 @@ The 🛠 emoji indicates that a rule is automatically fixable by the `--fix` com
|
||||||
| U004 | UselessObjectInheritance | Class `...` inherits from object | | 🛠 |
|
| U004 | UselessObjectInheritance | Class `...` inherits from object | | 🛠 |
|
||||||
| U005 | NoAssertEquals | `assertEquals` is deprecated, use `assertEqual` instead | | 🛠 |
|
| U005 | NoAssertEquals | `assertEquals` is deprecated, use `assertEqual` instead | | 🛠 |
|
||||||
| U006 | UsePEP585Annotation | Use `list` instead of `List` for type annotations | | 🛠 |
|
| U006 | UsePEP585Annotation | Use `list` instead of `List` for type annotations | | 🛠 |
|
||||||
| U007 | UsePEP604Annotation | Use `X | Y` for type annotations | | 🛠 |
|
| U007 | UsePEP604Annotation | Use `X \| Y` for type annotations | | 🛠 |
|
||||||
| M001 | UnusedNOQA | Unused `noqa` directive | | 🛠 |
|
| M001 | UnusedNOQA | Unused `noqa` directive | | 🛠 |
|
||||||
|
|
||||||
## Integrations
|
## Integrations
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ fn main() {
|
||||||
"| {} | {} | {} | {} | {} |",
|
"| {} | {} | {} | {} | {} |",
|
||||||
check_kind.code().as_ref(),
|
check_kind.code().as_ref(),
|
||||||
check_kind.as_ref(),
|
check_kind.as_ref(),
|
||||||
check_kind.body(),
|
check_kind.body().replace("|", r"\|"),
|
||||||
default_token,
|
default_token,
|
||||||
fix_token
|
fix_token
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue