mirror of
https://github.com/astral-sh/ruff
synced 2026-01-23 06:20:55 -05:00
This PR enables us to apply the proper quotation marks, including support for escapes. There are some significant TODOs, especially around implicit concatenations like: ```py ( "abc" "def" ) ``` Which are represented as a single AST node, which requires us to tokenize _within_ the formatter to identify all the individual string parts.
16 lines
201 B
Rust
16 lines
201 B
Rust
mod alias;
|
|
mod arg;
|
|
mod arguments;
|
|
mod boolop;
|
|
pub mod builders;
|
|
mod cmpop;
|
|
mod comprehension;
|
|
mod excepthandler;
|
|
mod expr;
|
|
mod helpers;
|
|
mod operator;
|
|
mod stmt;
|
|
mod strings;
|
|
mod unaryop;
|
|
mod withitem;
|