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

CI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)
[etc/vim.git] / tests / data / cases / ignore_pyi.py
1 # flags: --pyi
2 def f():  # type: ignore
3     ...
4
5 class x:  # some comment
6     ...
7
8 class y:
9     ...  # comment
10
11 # whitespace doesn't matter (note the next line has a trailing space and tab)
12 class z:        
13     ...
14
15 def g():
16     # hi
17     ...
18
19 def h():
20     ...
21     # bye
22
23 # output
24
25 def f():  # type: ignore
26     ...
27
28 class x:  # some comment
29     ...
30
31 class y: ...  # comment
32
33 # whitespace doesn't matter (note the next line has a trailing space and tab)
34 class z: ...
35
36 def g():
37     # hi
38     ...
39
40 def h():
41     ...
42     # bye