RUF031
(incorrectly-parenthesized-tuple-in-subscript
) - false positive on types
#12773
Labels
RUF031
(incorrectly-parenthesized-tuple-in-subscript
) - false positive on types
#12773
subscripts have a completely different meaning in type annotations, and the fact that the arguments to
dict
are a tuple is an implementation detail of the syntax, so i don't think this rule should apply to them.The text was updated successfully, but these errors were encountered: