ruff/crates/ruff_python_formatter/src/other
Dhruv Manilawala c434bdd2bd
Add formatting for MatchCase (#6360)
## Summary

This PR adds formatting support for `MatchCase` node with subs for the
`Pattern`
nodes.

## Test Plan

Added test cases for case node handling with comments, newlines.

resolves: #6299
2023-08-11 19:20:25 +05:30
..
alias.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
arguments.rs Move empty_parenthesized into the parentheses.rs (#6403) 2023-08-08 19:17:17 +00:00
comprehension.rs Replace Formatter<PyFormatContext<'_>> with PyFormatter (#6330) 2023-08-04 10:48:58 +02:00
decorator.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
elif_else_clause.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
except_handler_except_handler.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
identifier.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
keyword.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
match_case.rs Add formatting for MatchCase (#6360) 2023-08-11 19:20:25 +05:30
mod.rs Add formatter support for call and class definition Arguments (#6274) 2023-08-02 11:54:22 -04:00
parameter.rs Rename Parameter#arg and ParameterWithDefault#def fields (#6255) 2023-08-01 14:28:34 -04:00
parameter_with_default.rs Rename Parameter#arg and ParameterWithDefault#def fields (#6255) 2023-08-01 14:28:34 -04:00
parameters.rs Group function definition parameters with return type annotations (#6410) 2023-08-09 12:13:58 +00:00
with_item.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00