Rename rules currently not conforming to naming convention (#15102)

## Summary

This pull request renames 19 rules which currently do not conform to
Ruff's [naming
convention](https://github.com/astral-sh/ruff/blob/main/CONTRIBUTING.md#rule-naming-convention).

## Description

Fixes astral-sh/ruff#15009.
This commit is contained in:
Enoch Kan 2024-12-23 21:48:45 +00:00 committed by GitHub
parent 97965ff114
commit 5bc9d6d3aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 251 additions and 249 deletions

View file

@ -31,13 +31,16 @@ KNOWN_FORMATTING_VIOLATIONS = [
"bad-quotes-multiline-string",
"blank-line-after-decorator",
"blank-line-before-class",
"blank-line-before-function",
"blank-line-between-methods",
"blank-lines-after-function-or-class",
"blank-lines-before-nested-definition",
"blank-lines-top-level",
"docstring-tab-indentation",
"explicit-string-concatenation",
"f-string-missing-placeholders",
"indent-with-spaces",
"incorrect-blank-line-after-class",
"incorrect-blank-line-before-class",
"indentation-with-invalid-multiple",
"line-too-long",
"missing-trailing-comma",
@ -58,14 +61,11 @@ KNOWN_FORMATTING_VIOLATIONS = [
"multiple-spaces-before-operator",
"multiple-statements-on-one-line-colon",
"multiple-statements-on-one-line-semicolon",
"no-blank-line-before-function",
"no-indented-block-comment",
"no-return-argument-annotation-in-stub",
"no-space-after-block-comment",
"no-space-after-inline-comment",
"non-empty-stub-body",
"one-blank-line-after-class",
"one-blank-line-before-class",
"over-indentation",
"over-indented",
"pass-statement-stub-body",