ruff/crates/ruff_python_trivia/src
Dylan f2b7c82534
Handle t-string prefixes in SimpleTokenizer (#20578)
The simple tokenizer is meant to skip strings, but it was recording a
`Name` token for t-strings (from the `t`). This PR fixes that.
2025-09-25 14:33:37 -05:00
..
comment_ranges.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
comments.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
cursor.rs Add offset method to ruff_python_trivia::Cursor (#18371) 2025-05-29 16:08:15 +01:00
lib.rs Implement RUF028 to detect useless formatter suppression comments (#9899) 2024-02-28 19:21:06 +00:00
pragmas.rs Treat ty: comments as pragma comments (#18532) 2025-06-07 16:02:43 +02:00
textwrap.rs [ruff] Preserve relative whitespace in multi-line expressions (RUF033) (#19647) 2025-08-27 19:15:44 +00:00
tokenizer.rs Handle t-string prefixes in SimpleTokenizer (#20578) 2025-09-25 14:33:37 -05:00
whitespace.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00