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