ruff/crates/ruff_python_formatter/src/statement
konsti a227775f62
Type alias stub for formatter (#5880)
**Summary** This replaces the `todo!()` with a type alias stub in the
formatter. I added the tests from
704eb40108/parser/src/parser.rs (L901-L936)
as ruff python formatter tests.

**Test Plan** None, testing is part of the actual implementation
2023-07-19 17:28:07 +02:00
..
mod.rs Type alias stub for formatter (#5880) 2023-07-19 17:28:07 +02:00
stmt_ann_assign.rs Fix StmtAnnAssign formatting by mirroring StmtAssign (#5732) 2023-07-13 10:51:25 +00:00
stmt_assert.rs Format assert statement (#5168) 2023-07-14 09:01:33 +02:00
stmt_assign.rs Add message to formatter SyntaxError (#5881) 2023-07-19 17:15:26 +02:00
stmt_async_for.rs Format AsyncFor (#5808) 2023-07-17 10:38:59 +02:00
stmt_async_function_def.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_async_with.rs format StmtAsyncWith (#5376) 2023-06-28 10:21:44 +00:00
stmt_aug_assign.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_break.rs format StmtBreak (#5158) 2023-06-17 10:31:29 +02:00
stmt_class_def.rs Remove exception-handler lexing from unused-bound-exception fix (#5851) 2023-07-18 18:27:46 +00:00
stmt_continue.rs Format continue statement (#5165) 2023-06-18 11:25:59 +00:00
stmt_delete.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_expr.rs Cover Black's is_aritmetic_like formatting (#5738) 2023-07-14 17:54:58 +02:00
stmt_for.rs Format AsyncFor (#5808) 2023-07-17 10:38:59 +02:00
stmt_function_def.rs Remove exception-handler lexing from unused-bound-exception fix (#5851) 2023-07-18 18:27:46 +00:00
stmt_global.rs Replace verbatim text with NOT_YET_IMPLEMENTED (#4904) 2023-06-07 14:57:25 +02:00
stmt_if.rs Formatter: Run generate.py for ElifElseClauses (#5864) 2023-07-18 17:17:17 +02:00
stmt_import.rs Format import statements (#5493) 2023-07-04 07:07:20 +00:00
stmt_import_from.rs Handle right parens in join comma builder (#5711) 2023-07-12 18:21:28 +02:00
stmt_match.rs Replace verbatim text with NOT_YET_IMPLEMENTED (#4904) 2023-06-07 14:57:25 +02:00
stmt_nonlocal.rs Replace verbatim text with NOT_YET_IMPLEMENTED (#4904) 2023-06-07 14:57:25 +02:00
stmt_pass.rs Implement StmtPass (#4959) 2023-06-08 16:29:27 +02:00
stmt_raise.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_return.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_try.rs format StmtTryStar (#5418) 2023-06-29 08:07:33 +02:00
stmt_try_star.rs format StmtTryStar (#5418) 2023-06-29 08:07:33 +02:00
stmt_type_alias.rs Type alias stub for formatter (#5880) 2023-07-19 17:28:07 +02:00
stmt_while.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
stmt_with.rs Add message to formatter SyntaxError (#5881) 2023-07-19 17:15:26 +02:00
suite.rs Remove exception-handler lexing from unused-bound-exception fix (#5851) 2023-07-18 18:27:46 +00:00