[ruff] Fix --add-noqa breaking shebangs
#23577
Merged
Loading
--add-noqa breaking shebangs
#23577