ruff/crates/ruff_python_formatter
Charlie Marsh f967f344fc
Add support for basic Constant::Str formatting (#3173)
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.
2023-02-23 16:23:10 +00:00
..
resources/test/fixtures/black Un-modify tupleassign and function2 tests (#3158) 2023-02-23 02:37:25 +00:00
src Add support for basic Constant::Str formatting (#3173) 2023-02-23 16:23:10 +00:00
Cargo.toml Add support for basic Constant::Str formatting (#3173) 2023-02-23 16:23:10 +00:00