ruff
7997da47 - [ruff] Implement `incorrectly-parenthesized-tuple-in-subscript` (`RUF031`) (#12480)

Commit
1 year ago
[ruff] Implement `incorrectly-parenthesized-tuple-in-subscript` (`RUF031`) (#12480) Implements the new fixable lint rule `RUF031` which checks for the use or omission of parentheses around tuples in subscripts, depending on the setting `lint.ruff.parenthesize-tuple-in-getitem`. By default, the use of parentheses is considered a violation.
Author
Parents
Loading