mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-01 20:31:57 +00:00
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:
parent
97965ff114
commit
5bc9d6d3aa
22 changed files with 251 additions and 249 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue