ruff/crates/ruff_python_formatter/src/comments
Dhruv Manilawala 001aa486df
Add formatting for StmtMatch (#6286)
## Summary

This PR adds support for `StmtMatch` with subs for `MatchCase`.

## Test Plan

Add a few additional test cases around `match` statement, comments, line
breaks.

resolves: #6298
2023-08-08 18:48:49 +05:30
..
snapshots Rename Arguments to Parameters in the AST (#6253) 2023-08-01 13:53:28 -04:00
debug.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
format.rs Expand parents whenever open-parenthesis comments are present (#6389) 2023-08-08 08:45:20 -04:00
map.rs Correctly associate own-line comments in bodies (#4671) 2023-06-01 08:12:53 +02:00
mod.rs Avoid hard line break after dangling open-parenthesis comments (#6380) 2023-08-07 14:15:32 +00:00
node_key.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
placement.rs Add formatting for StmtMatch (#6286) 2023-08-08 18:48:49 +05:30
visitor.rs Add formatting for StmtMatch (#6286) 2023-08-08 18:48:49 +05:30