mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-09 22:25:09 +00:00
Add a rule to remove unnecessary parentheses in class definitions (#5032)
Closes #2409.
This commit is contained in:
parent
3470dee7d4
commit
54e103fc99
9 changed files with 230 additions and 40 deletions
|
@ -47,6 +47,7 @@ KNOWN_FORMATTING_VIOLATIONS = [
|
|||
"too-few-spaces-before-inline-comment",
|
||||
"trailing-comma-on-bare-tuple",
|
||||
"unexpected-indentation-comment",
|
||||
"unnecessary-class-parentheses",
|
||||
"useless-semicolon",
|
||||
"whitespace-after-open-bracket",
|
||||
"whitespace-before-close-bracket",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue