mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
While looking into https://github.com/astral-sh/ruff/issues/13545 I noticed that we return `None` here if you pass a block of comments. This is annoying because it causes `adjust_indentation` to fall back to LibCST which panics when it cannot find a statement.