mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00: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.
26 lines
745 B
TOML
26 lines
745 B
TOML
[package]
|
|
name = "ruff_python_formatter"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
|
|
[dependencies]
|
|
ruff_formatter = { path = "../ruff_formatter" }
|
|
ruff_python = { path = "../ruff_python" }
|
|
ruff_rustpython = { path = "../ruff_rustpython" }
|
|
ruff_text_size = { path = "../ruff_text_size" }
|
|
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
rustpython-common = { workspace = true }
|
|
rustpython-parser = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
ruff_testing_macros = { path = "../ruff_testing_macros" }
|
|
|
|
insta = { version = "1.19.0", features = [] }
|
|
test-case = { version = "2.2.2" }
|
|
similar = { version = "2.2.1" }
|