ruff/crates/ruff_python_ast
Dylan 0b6ce1c788
[`ruff`] Handle empty t-strings in `unnecessary-empty-iterable-within-deque-call` (`RUF037`) (#20045)
Adds a method to `TStringValue` to detect whether the t-string is empty
_as an iterable_. Note the subtlety here that, unlike f-strings, an
empty t-string is still truthy (i.e. `bool(t"")==True`).

Closes #19951
2025-08-22 10:23:49 -05:00
..
src [`ruff`] Handle empty t-strings in `unnecessary-empty-iterable-within-deque-call` (`RUF037`) (#20045) 2025-08-22 10:23:49 -05:00
Cargo.toml Make dependency `get-size2` truly optional in `ruff_python_ast` (#19052) 2025-06-30 21:50:59 -05:00
ast.toml Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
generate.py [ty] Add environment variable to dump Salsa memory usage stats (#18928) 2025-06-26 21:27:51 +00:00