]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/black/tests/data/cases/preview_trailing_comma.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:

Merge commit '882d8795c6ff65c02f2657e596391748d1b6b7f5'
[etc/vim.git] / .vim / bundle / black / tests / data / cases / preview_trailing_comma.py
1 # flags: --preview
2 e = {
3     "a": fun(msg, "ts"),
4     "longggggggggggggggid": ...,
5     "longgggggggggggggggggggkey": ..., "created": ...
6     # "longkey": ...
7 }
8 f = [
9     arg1,
10     arg2,
11     arg3, arg4
12     # comment
13 ]
14 g = (
15     arg1,
16     arg2,
17     arg3, arg4
18     # comment
19 )
20 h = {
21     arg1,
22     arg2,
23     arg3, arg4
24     # comment
25 }
26
27 # output
28
29 e = {
30     "a": fun(msg, "ts"),
31     "longggggggggggggggid": ...,
32     "longgggggggggggggggggggkey": ...,
33     "created": ...,
34     # "longkey": ...
35 }
36 f = [
37     arg1,
38     arg2,
39     arg3,
40     arg4,
41     # comment
42 ]
43 g = (
44     arg1,
45     arg2,
46     arg3,
47     arg4,
48     # comment
49 )
50 h = {
51     arg1,
52     arg2,
53     arg3,
54     arg4,
55     # comment
56 }