ruff/crates/ruff_python_formatter
konstin e586c27590
Format ExprTuple (#4963)
This implements formatting ExprTuple, including magic trailing comma. I
intentionally didn't change the settings mechanism but just added a
dummy global const flag.

Besides the snapshots, I added custom breaking/joining tests and a
deeply nested test case. The diffs look better than previously, proper
black compatibility depends on parentheses handling.

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2023-06-12 12:55:47 +00:00
..
resources/test/fixtures Format ExprTuple (#4963) 2023-06-12 12:55:47 +00:00
src Format ExprTuple (#4963) 2023-06-12 12:55:47 +00:00
Cargo.toml Use consistent Cargo.toml metadata in all crates (#5015) 2023-06-12 00:02:40 +00:00
Docs.md Generate FormatRule definitions (#4724) 2023-06-01 08:38:53 +02:00
generate.py Format Function definitions (#4951) 2023-06-08 16:07:33 +00:00
orphan_rules_in_the_formatter.svg Generate FormatRule definitions (#4724) 2023-06-01 08:38:53 +02:00