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

Add more tests for fancy whitespace (#2147)
[etc/vim.git] / tests / data / python39.py
1 #!/usr/bin/env python3.9
2
3 @relaxed_decorator[0]
4 def f():
5     ...
6
7 @relaxed_decorator[extremely_long_name_that_definitely_will_not_fit_on_one_line_of_standard_length]
8 def f():
9     ...
10
11 @extremely_long_variable_name_that_doesnt_fit := complex.expression(with_long="arguments_value_that_wont_fit_at_the_end_of_the_line")
12 def f():
13     ...
14
15 # output
16
17
18 #!/usr/bin/env python3.9
19
20
21 @relaxed_decorator[0]
22 def f():
23     ...
24
25
26 @relaxed_decorator[
27     extremely_long_name_that_definitely_will_not_fit_on_one_line_of_standard_length
28 ]
29 def f():
30     ...
31
32
33 @extremely_long_variable_name_that_doesnt_fit := complex.expression(
34     with_long="arguments_value_that_wont_fit_at_the_end_of_the_line"
35 )
36 def f():
37     ...