mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00: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. |
||
---|---|---|
.. | ||
comment_ranges.rs | ||
comments.rs | ||
cursor.rs | ||
lib.rs | ||
pragmas.rs | ||
textwrap.rs | ||
tokenizer.rs | ||
whitespace.rs |