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

cc17405aa3a6486b3c05e1985fc808a1ab41e76f
[etc/vim.git] / tests / import_spacing.py
1 """The asyncio package, tracking PEP 3156."""
2
3 # flake8: noqa
4
5 from logging import (
6     ERROR,
7 )
8 import sys
9
10 # This relies on each of the submodules having an __all__ variable.
11 from .base_events import *
12 from .coroutines import *
13 from .events import *  # comment here
14
15 from .futures import *
16 from .locks import *  # comment here
17 from .protocols import *
18
19 from ..runners import *  # comment here
20 from ..queues import *
21 from ..streams import *
22
23 from some_library import (
24     Just, Enough, Libraries, To, Fit, In, This, Nice, Split, Which, We, No, Longer, Use
25 )
26
27 from .a.b.c.subprocess import *
28 from . import (tasks)
29 from . import (A, B, C)
30 from . import SomeVeryLongNameAndAllOfItsAdditionalLetters1, \
31               SomeVeryLongNameAndAllOfItsAdditionalLetters2
32
33 __all__ = (
34     base_events.__all__
35     + coroutines.__all__
36     + events.__all__
37     + futures.__all__
38     + locks.__all__
39     + protocols.__all__
40     + runners.__all__
41     + queues.__all__
42     + streams.__all__
43     + tasks.__all__
44 )
45
46
47 # output
48
49
50 """The asyncio package, tracking PEP 3156."""
51
52 # flake8: noqa
53
54 from logging import ERROR
55 import sys
56
57 # This relies on each of the submodules having an __all__ variable.
58 from .base_events import *
59 from .coroutines import *
60 from .events import *  # comment here
61
62 from .futures import *
63 from .locks import *  # comment here
64 from .protocols import *
65
66 from ..runners import *  # comment here
67 from ..queues import *
68 from ..streams import *
69
70 from some_library import (
71     Just,
72     Enough,
73     Libraries,
74     To,
75     Fit,
76     In,
77     This,
78     Nice,
79     Split,
80     Which,
81     We,
82     No,
83     Longer,
84     Use,
85 )
86
87 from .a.b.c.subprocess import *
88 from . import tasks
89 from . import A, B, C
90 from . import (
91     SomeVeryLongNameAndAllOfItsAdditionalLetters1,
92     SomeVeryLongNameAndAllOfItsAdditionalLetters2,
93 )
94
95 __all__ = (
96     base_events.__all__
97     + coroutines.__all__
98     + events.__all__
99     + futures.__all__
100     + locks.__all__
101     + protocols.__all__
102     + runners.__all__
103     + queues.__all__
104     + streams.__all__
105     + tasks.__all__
106 )