mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
This isn't super consistent with some other rules, but... if you have a lone body, with a `pass`, followed by a comment, it's probably surprising if it gets removed. Let's retain the comment. Closes #2231.