]> git.madduck.net Git - etc/vim.git/blob - tests/data/stub.pyi

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 wind technology software projects using black (#2792)
[etc/vim.git] / tests / data / stub.pyi
1 X: int
2
3 def f(): ...
4
5
6 class D: 
7     ...
8
9
10 class C:
11     ...
12
13 class B:
14     this_lack_of_newline_should_be_kept: int
15     def b(self) -> None: ...
16
17     but_this_newline_should_also_be_kept: int
18
19 class A:
20     attr: int
21     attr2: str
22
23     def f(self) -> int:
24         ...
25
26     def g(self) -> str: ...
27
28
29
30 def g():
31     ...
32
33 def h(): ...
34
35
36 # output
37 X: int
38
39 def f(): ...
40
41 class D: ...
42 class C: ...
43
44 class B:
45     this_lack_of_newline_should_be_kept: int
46     def b(self) -> None: ...
47
48     but_this_newline_should_also_be_kept: int
49
50 class A:
51     attr: int
52     attr2: str
53
54     def f(self) -> int: ...
55     def g(self) -> str: ...
56
57 def g(): ...
58 def h(): ...