PYI061 fixes Literal[None,] | Literal[None,]
to None | None
#16177
Labels
bug
Something isn't working
fixes
Related to suggested fixes for violations
help wanted
Contributions especially welcome
Description
The fix for
redundant-none-literal
(PYI061) convertsLiteral[None,] | Literal[None,]
toNone | None
, which can raise an exception.The text was updated successfully, but these errors were encountered: