Fixes for PYI061 and RUF020 can generate None | None
#14567
Labels
bug
Something isn't working
fixes
Related to suggested fixes for violations
help wanted
Contributions especially welcome
The fixes for
redundant-none-literal
(PYI061) andnever-union
(RUF020) in Ruff 0.8.0 can generateNone | None
, which raises an error at runtime.PYI061 example:
RUF020 example:
The text was updated successfully, but these errors were encountered: