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