mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 21:40:51 -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.