]> git.madduck.net Git - etc/vim.git/blob - tests/data/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:

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