]> git.madduck.net Git - etc/vim.git/blob - tests/data/fmtonoff4.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

black/parser: support as-exprs within call args (#2608)
[etc/vim.git] / tests / data / fmtonoff4.py
1 # fmt: off
2 @test([
3     1, 2,
4     3, 4,
5 ])
6 # fmt: on
7 def f(): pass
8
9 @test([
10     1, 2,
11     3, 4,
12 ])
13 def f(): pass
14
15 # output
16
17 # fmt: off
18 @test([
19     1, 2,
20     3, 4,
21 ])
22 # fmt: on
23 def f():
24     pass
25
26
27 @test(
28     [
29         1,
30         2,
31         3,
32         4,
33     ]
34 )
35 def f():
36     pass