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

Don't allow type comments to be merged behind regular comments (#1027)
[etc/vim.git] / tests / data / comments7.py
1 from .config import (
2     Any,
3     Bool,
4     ConfigType,
5     ConfigTypeAttributes,
6     Int,
7     Path,
8     #  String,
9     #  resolve_to_config_type,
10     #  DEFAULT_TYPE_ATTRIBUTES,
11 )
12
13
14 from .config import (
15     Any,
16     Bool,
17     ConfigType,
18     ConfigTypeAttributes,
19     Int,
20     no_comma_here_yet
21     #  and some comments,
22     #  resolve_to_config_type,
23     #  DEFAULT_TYPE_ATTRIBUTES,
24 )
25
26
27 result = 1  # look ma, no comment migration xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
28
29 result = (
30     1  # look ma, no comment migration xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
31 )
32
33 result = (
34     "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  # aaa
35 )
36
37 result = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  # aaa
38
39 # output
40
41 from .config import (
42     Any,
43     Bool,
44     ConfigType,
45     ConfigTypeAttributes,
46     Int,
47     Path,
48     #  String,
49     #  resolve_to_config_type,
50     #  DEFAULT_TYPE_ATTRIBUTES,
51 )
52
53
54 from .config import (
55     Any,
56     Bool,
57     ConfigType,
58     ConfigTypeAttributes,
59     Int,
60     no_comma_here_yet,
61     #  and some comments,
62     #  resolve_to_config_type,
63     #  DEFAULT_TYPE_ATTRIBUTES,
64 )
65
66
67 result = 1  # look ma, no comment migration xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
68
69 result = 1  # look ma, no comment migration xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
70
71 result = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  # aaa
72
73 result = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  # aaa