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

Remove remains of extra empty lines for flow control statements
[etc/vim.git] / tests / import_spacing.py
index a9856e7319a9fd2b54d0a82301b30c7c771ae563..0c98650f8339c56728442cdca93345d268c045c7 100644 (file)
@@ -2,6 +2,9 @@
 
 # flake8: noqa
 
 
 # flake8: noqa
 
+from logging import (
+    ERROR,
+)
 import sys
 
 # This relies on each of the submodules having an __all__ variable.
 import sys
 
 # This relies on each of the submodules having an __all__ variable.
@@ -17,20 +20,29 @@ from ..runners import *  # comment here
 from ..queues import *
 from ..streams import *
 
 from ..queues import *
 from ..streams import *
 
+from some_library import (
+    Just, Enough, Libraries, To, Fit, In, This, Nice, Split, Which, We, No, Longer, Use
+)
+from name_of_a_company.extremely_long_project_name.component.ttypes import CuteLittleServiceHandlerFactoryyy
+from name_of_a_company.extremely_long_project_name.extremely_long_component_name.ttypes import *
+
 from .a.b.c.subprocess import *
 from .a.b.c.subprocess import *
-from . import tasks
+from . import (tasks)
+from . import (A, B, C)
+from . import SomeVeryLongNameAndAllOfItsAdditionalLetters1, \
+              SomeVeryLongNameAndAllOfItsAdditionalLetters2
 
 __all__ = (
 
 __all__ = (
-    base_events.__all__ +
-    coroutines.__all__ +
-    events.__all__ +
-    futures.__all__ +
-    locks.__all__ +
-    protocols.__all__ +
-    runners.__all__ +
-    queues.__all__ +
-    streams.__all__ +
-    tasks.__all__
+    base_events.__all__
+    + coroutines.__all__
+    + events.__all__
+    + futures.__all__
+    + locks.__all__
+    + protocols.__all__
+    + runners.__all__
+    + queues.__all__
+    + streams.__all__
+    tasks.__all__
 )
 
 
 )
 
 
@@ -38,7 +50,10 @@ __all__ = (
 
 
 """The asyncio package, tracking PEP 3156."""
 
 
 """The asyncio package, tracking PEP 3156."""
+
 # flake8: noqa
 # flake8: noqa
+
+from logging import ERROR
 import sys
 
 # This relies on each of the submodules having an __all__ variable.
 import sys
 
 # This relies on each of the submodules having an __all__ variable.
@@ -54,18 +69,44 @@ from ..runners import *  # comment here
 from ..queues import *
 from ..streams import *
 
 from ..queues import *
 from ..streams import *
 
+from some_library import (
+    Just,
+    Enough,
+    Libraries,
+    To,
+    Fit,
+    In,
+    This,
+    Nice,
+    Split,
+    Which,
+    We,
+    No,
+    Longer,
+    Use,
+)
+from name_of_a_company.extremely_long_project_name.component.ttypes import (
+    CuteLittleServiceHandlerFactoryyy
+)
+from name_of_a_company.extremely_long_project_name.extremely_long_component_name.ttypes import *
+
 from .a.b.c.subprocess import *
 from . import tasks
 from .a.b.c.subprocess import *
 from . import tasks
+from . import A, B, C
+from . import (
+    SomeVeryLongNameAndAllOfItsAdditionalLetters1,
+    SomeVeryLongNameAndAllOfItsAdditionalLetters2,
+)
 
 __all__ = (
 
 __all__ = (
-    base_events.__all__ +
-    coroutines.__all__ +
-    events.__all__ +
-    futures.__all__ +
-    locks.__all__ +
-    protocols.__all__ +
-    runners.__all__ +
-    queues.__all__ +
-    streams.__all__ +
-    tasks.__all__
+    base_events.__all__
+    + coroutines.__all__
+    + events.__all__
+    + futures.__all__
+    + locks.__all__
+    + protocols.__all__
+    + runners.__all__
+    + queues.__all__
+    + streams.__all__
+    tasks.__all__
 )
 )