#28945·ruff

RUF031 incorrectly-parenthesized-tuple-in-subscript: false negative

Author: spaceoneCreated Sep 27, 2026Updated Sep 28, 2026
Labelsruleneeds-decision

I wish for a rule or formatter which makes the following transition:

diff
-LDAPSearchResult: TypeAlias = tuple[(str, LDAPEntryDict)]
+LDAPSearchResult: TypeAlias = tuple[str, LDAPEntryDict]

recent versions of mypy's stubgen create the tuple-based version.