X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/47480ca33143b250cb33ba501f201838269173ce..43b53a034c9e3ada9295bf7f93be473b66b74f75:/.vim/bundle/black/tests/data/cases/pattern_matching_style.py diff --git a/.vim/bundle/black/tests/data/cases/pattern_matching_style.py b/.vim/bundle/black/tests/data/cases/pattern_matching_style.py deleted file mode 100644 index 2ee6ea2b..00000000 --- a/.vim/bundle/black/tests/data/cases/pattern_matching_style.py +++ /dev/null @@ -1,92 +0,0 @@ -# flags: --minimum-version=3.10 -match something: - case b(): print(1+1) - case c( - very_complex=True, - perhaps_even_loooooooooooooooooooooooooooooooooooooong=- 1 - ): print(1) - case c( - very_complex=True, - perhaps_even_loooooooooooooooooooooooooooooooooooooong=-1, - ): print(2) - case a: pass - -match( - arg # comment -) - -match( -) - -match( - - -) - -case( - arg # comment -) - -case( -) - -case( - - -) - - -re.match( - something # fast -) -re.match( - - - -) -match match( - - -): - case case( - arg, # comment - ): - pass - -# output - -match something: - case b(): - print(1 + 1) - case c( - very_complex=True, perhaps_even_loooooooooooooooooooooooooooooooooooooong=-1 - ): - print(1) - case c( - very_complex=True, - perhaps_even_loooooooooooooooooooooooooooooooooooooong=-1, - ): - print(2) - case a: - pass - -match(arg) # comment - -match() - -match() - -case(arg) # comment - -case() - -case() - - -re.match(something) # fast -re.match() -match match(): - case case( - arg, # comment - ): - pass