]> git.madduck.net Git - etc/vim.git/blob - tests/import_spacing.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 invalid spacing of dots in relative imports
[etc/vim.git] / tests / import_spacing.py
1 """The asyncio package, tracking PEP 3156."""
2
3 # flake8: noqa
4
5 import sys
6
7 # This relies on each of the submodules having an __all__ variable.
8 from .base_events import *
9 from .coroutines import *
10 from .events import *  # comment here
11
12 from .futures import *
13 from .locks import *  # comment here
14 from .protocols import *
15
16 from ..runners import *  # comment here
17 from ..queues import *
18 from ..streams import *
19
20 from .a.b.c.subprocess import *
21 from . import tasks
22
23 __all__ = (
24     base_events.__all__ +
25     coroutines.__all__ +
26     events.__all__ +
27     futures.__all__ +
28     locks.__all__ +
29     protocols.__all__ +
30     runners.__all__ +
31     queues.__all__ +
32     streams.__all__ +
33     tasks.__all__
34 )
35
36
37 # output
38
39
40 """The asyncio package, tracking PEP 3156."""
41 # flake8: noqa
42 import sys
43
44 # This relies on each of the submodules having an __all__ variable.
45 from .base_events import *
46 from .coroutines import *
47 from .events import *  # comment here
48
49 from .futures import *
50 from .locks import *  # comment here
51 from .protocols import *
52
53 from ..runners import *  # comment here
54 from ..queues import *
55 from ..streams import *
56
57 from .a.b.c.subprocess import *
58 from . import tasks
59
60 __all__ = (
61     base_events.__all__ +
62     coroutines.__all__ +
63     events.__all__ +
64     futures.__all__ +
65     locks.__all__ +
66     protocols.__all__ +
67     runners.__all__ +
68     queues.__all__ +
69     streams.__all__ +
70     tasks.__all__
71 )