Call pattern formatting (#6594)

This commit is contained in:
Micha Reiser 2023-08-16 05:01:25 +02:00 committed by GitHub
parent 9bf6713b76
commit 897cce83b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 473 additions and 330 deletions

View file

@ -108,3 +108,36 @@ match long_lines:
bbbbbbbbaaaaaahhhh == 2
): # another comment
pass
match pattern_comments:
case (
only_trailing # trailing 1
# trailing 2
# trailing 3
):
pass
match pattern_comments:
case ( # leading
only_leading
):
pass
match pattern_comments:
case (
# leading
leading_and_trailing # trailing 1
# trailing 2
# trailing 3
):
pass
match pattern_comments:
case (
no_comments
):
pass