]> git.madduck.net Git - etc/vim.git/blob - tests/data/preview/long_dict_values.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:

Upgrade to Furo 2023.9.10 to fix docs build (#3873)
[etc/vim.git] / tests / data / preview / long_dict_values.py
1 my_dict = {
2     "something_something":
3         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
4         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
5         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t",
6 }
7
8 my_dict = {
9     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() / 100000.0
10 }
11
12 my_dict = {
13     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() * and_another_long_func() / 100000.0
14 }
15
16 my_dict = {
17     "a key in my dict": MyClass.some_attribute.first_call().second_call().third_call(some_args="some value")
18 }
19
20 {
21     'xxxxxx':
22         xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx(
23             xxxxxxxxxxxxxx={
24                 'x':
25                     xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
26                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=(
27                             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
28                             .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
29                                 xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
30                                 .xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
31                                     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={
32                                         'x': x.xx,
33                                         'x': x.x,
34                                     }))))
35             }),
36 }
37
38
39 # output
40
41
42 my_dict = {
43     "something_something": (
44         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
45         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
46         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
47     ),
48 }
49
50 my_dict = {
51     "a key in my dict": (
52         a_very_long_variable * and_a_very_long_function_call() / 100000.0
53     )
54 }
55
56 my_dict = {
57     "a key in my dict": (
58         a_very_long_variable
59         * and_a_very_long_function_call()
60         * and_another_long_func()
61         / 100000.0
62     )
63 }
64
65 my_dict = {
66     "a key in my dict": (
67         MyClass.some_attribute.first_call()
68         .second_call()
69         .third_call(some_args="some value")
70     )
71 }
72
73 {
74     "xxxxxx": xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx(
75         xxxxxxxxxxxxxx={
76             "x": xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
77                 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=(
78                     xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
79                         xxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(
80                             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx={
81                                 "x": x.xx,
82                                 "x": x.x,
83                             }
84                         )
85                     )
86                 )
87             )
88         }
89     ),
90 }