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

acks += JelleZijlstra
[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 from name_of_a_company.extremely_long_project_name.component.ttypes import CuteLittleServiceHandlerFactoryyy
27
28 from .a.b.c.subprocess import *
29 from . import (tasks)
30 from . import (A, B, C)
31 from . import SomeVeryLongNameAndAllOfItsAdditionalLetters1, \
32               SomeVeryLongNameAndAllOfItsAdditionalLetters2
33
34 __all__ = (
35     base_events.__all__
36     + coroutines.__all__
37     + events.__all__
38     + futures.__all__
39     + locks.__all__
40     + protocols.__all__
41     + runners.__all__
42     + queues.__all__
43     + streams.__all__
44     + tasks.__all__
45 )
46
47
48 # output
49
50
51 """The asyncio package, tracking PEP 3156."""
52
53 # flake8: noqa
54
55 from logging import ERROR
56 import sys
57
58 # This relies on each of the submodules having an __all__ variable.
59 from .base_events import *
60 from .coroutines import *
61 from .events import *  # comment here
62
63 from .futures import *
64 from .locks import *  # comment here
65 from .protocols import *
66
67 from ..runners import *  # comment here
68 from ..queues import *
69 from ..streams import *
70
71 from some_library import (
72     Just,
73     Enough,
74     Libraries,
75     To,
76     Fit,
77     In,
78     This,
79     Nice,
80     Split,
81     Which,
82     We,
83     No,
84     Longer,
85     Use,
86 )
87 from name_of_a_company.extremely_long_project_name.component.ttypes import (
88     CuteLittleServiceHandlerFactoryyy
89 )
90
91 from .a.b.c.subprocess import *
92 from . import tasks
93 from . import A, B, C
94 from . import (
95     SomeVeryLongNameAndAllOfItsAdditionalLetters1,
96     SomeVeryLongNameAndAllOfItsAdditionalLetters2,
97 )
98
99 __all__ = (
100     base_events.__all__
101     + coroutines.__all__
102     + events.__all__
103     + futures.__all__
104     + locks.__all__
105     + protocols.__all__
106     + runners.__all__
107     + queues.__all__
108     + streams.__all__
109     + tasks.__all__
110 )