mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Add a rule to remove unnecessary parentheses in class definitions (#5032)
Closes #2409.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user