ruff
Exempt `PLR1711` and `RET501` if non-`None` annotation
#3705
Merged

Loading