]> 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:

Update formatting example
[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
42 # flake8: noqa
43 import sys
44
45 # This relies on each of the submodules having an __all__ variable.
46 from .base_events import *
47 from .coroutines import *
48 from .events import *  # comment here
49
50 from .futures import *
51 from .locks import *  # comment here
52 from .protocols import *
53
54 from ..runners import *  # comment here
55 from ..queues import *
56 from ..streams import *
57
58 from .a.b.c.subprocess import *
59 from . import tasks
60
61 __all__ = (
62     base_events.__all__ +
63     coroutines.__all__ +
64     events.__all__ +
65     futures.__all__ +
66     locks.__all__ +
67     protocols.__all__ +
68     runners.__all__ +
69     queues.__all__ +
70     streams.__all__ +
71     tasks.__all__
72 )