Fix collapsed message (#372)

This commit is contained in:
Harutaka Kawamura 2022-10-10 02:01:36 +09:00 committed by GitHub
parent bbe0220c72
commit f060248656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
); );