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

Fix typo in `target-version` param wrongly used in plural (#3817)
[etc/vim.git] / tests / data / simple_cases / ignore_pyi.py
1 def f():  # type: ignore
2     ...
3
4 class x:  # some comment
5     ...
6
7 class y:
8     ...  # comment
9
10 # whitespace doesn't matter (note the next line has a trailing space and tab)
11 class z:        
12     ...
13
14 def g():
15     # hi
16     ...
17
18 def h():
19     ...
20     # bye
21
22 # output
23
24 def f():  # type: ignore
25     ...
26
27 class x:  # some comment
28     ...
29
30 class y: ...  # comment
31
32 # whitespace doesn't matter (note the next line has a trailing space and tab)
33 class z: ...
34
35 def g():
36     # hi
37     ...
38
39 def h():
40     ...
41     # bye