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

Document that W503 is not compliant with PEP 8 (#114)
[etc/vim.git] / tests / import_spacing.py
index 0597b62b01151ebf4c08055fd0fa0489f3303c90..e9f7330db32bc6d93f11cddf0757a4e425982634 100644 (file)
@@ -13,27 +13,24 @@ from .futures import *
 from .locks import *  # comment here
 from .protocols import *
 
 from .locks import *  # comment here
 from .protocols import *
 
-from .runners import *  # comment here
-from .queues import *
-from .streams import *
+from ..runners import *  # comment here
+from ..queues import *
+from ..streams import *
 
 
-from .subprocess import *
-from .tasks import *
-from .transports import *
+from .a.b.c.subprocess import *
+from . import tasks
 
 __all__ = (
 
 __all__ = (
-    base_events.__all__ +
-    coroutines.__all__ +
-    events.__all__ +
-    futures.__all__ +
-    locks.__all__ +
-    protocols.__all__ +
-    runners.__all__ +
-    queues.__all__ +
-    streams.__all__ +
-    subprocess.__all__ +
-    tasks.__all__ +
-    transports.__all__
+    base_events.__all__
+    + coroutines.__all__
+    + events.__all__
+    + futures.__all__
+    + locks.__all__
+    + protocols.__all__
+    + runners.__all__
+    + queues.__all__
+    + streams.__all__
+    + tasks.__all__
 )
 
 
 )
 
 
@@ -41,7 +38,9 @@ __all__ = (
 
 
 """The asyncio package, tracking PEP 3156."""
 
 
 """The asyncio package, tracking PEP 3156."""
+
 # flake8: noqa
 # flake8: noqa
+
 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.
@@ -53,25 +52,22 @@ from .futures import *
 from .locks import *  # comment here
 from .protocols import *
 
 from .locks import *  # comment here
 from .protocols import *
 
-from .runners import *  # comment here
-from .queues import *
-from .streams import *
+from ..runners import *  # comment here
+from ..queues import *
+from ..streams import *
 
 
-from .subprocess import *
-from .tasks import *
-from .transports import *
+from .a.b.c.subprocess import *
+from . import tasks
 
 __all__ = (
 
 __all__ = (
-    base_events.__all__ +
-    coroutines.__all__ +
-    events.__all__ +
-    futures.__all__ +
-    locks.__all__ +
-    protocols.__all__ +
-    runners.__all__ +
-    queues.__all__ +
-    streams.__all__ +
-    subprocess.__all__ +
-    tasks.__all__ +
-    transports.__all__
+    base_events.__all__
+    + coroutines.__all__
+    + events.__all__
+    + futures.__all__
+    + locks.__all__
+    + protocols.__all__
+    + runners.__all__
+    + queues.__all__
+    + streams.__all__
+    + tasks.__all__
 )
 )