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

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