Add a rule to remove unnecessary parentheses in class definitions (#5032)

Closes #2409.
This commit is contained in:
Charlie Marsh 2023-06-12 14:43:06 -04:00 committed by GitHub
parent 3470dee7d4
commit 54e103fc99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 230 additions and 40 deletions

View file

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