Complete pyupgrade documentation (#5096)

## Summary

Completes the documentation for the `pyupgrade` rules.

Related to #2646.

## Test Plan

`python scripts/check_docs_formatted.py`
This commit is contained in:
Tom Kuson 2023-06-15 00:43:12 +01:00 committed by GitHub
parent 71b3130ff1
commit ccbc863960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 896 additions and 46 deletions

View file

@ -48,6 +48,7 @@ KNOWN_FORMATTING_VIOLATIONS = [
"too-few-spaces-before-inline-comment",
"trailing-comma-on-bare-tuple",
"unexpected-indentation-comment",
"unicode-kind-prefix",
"unnecessary-class-parentheses",
"useless-semicolon",
"whitespace-after-open-bracket",