ruff/crates/ruff_python_formatter
konstin 467df23e65
Implement StmtReturn (#4960)
* Implement StmtPass

This implements StmtPass as `pass`.

The snapshot diff is small because pass mainly occurs in bodies and function (#4951) and if/for bodies.

* Implement StmtReturn

This implements StmtReturn as `return` or `return {value}`.

The snapshot diff is small because return occurs in functions (#4951)
2023-06-08 16:29:39 +02:00
..
resources/test/fixtures A basic StmtAssign formatter and better dummies for expressions (#4938) 2023-06-08 12:20:25 +02:00
src Implement StmtReturn (#4960) 2023-06-08 16:29:39 +02:00
Cargo.toml Move universal newline handling into its own crate (#4729) 2023-05-31 12:00:47 -04:00
Docs.md Generate FormatRule definitions (#4724) 2023-06-01 08:38:53 +02:00
generate.py Use dummy verbatim formatter for all nodes (#4755) 2023-06-01 08:25:26 +00:00
orphan_rules_in_the_formatter.svg Generate FormatRule definitions (#4724) 2023-06-01 08:38:53 +02:00