mirror of
https://github.com/astral-sh/ruff
synced 2026-01-25 07:20:50 -05:00
The primary motivation is that we can now robustly detect `\` continuations due to the addition of `Tok::NonLogicalNewline`. This PR generalizes the approach we took to comments (track all lines that contain any comments), and applies it to continuations too.