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

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