X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e1e89091d1de878c98e2d2b0cefd81cc75e7a128..09f5ee3a19f4274bb848324867bd8e68724cf851:/tests/import_spacing.py?ds=sidebyside diff --git a/tests/import_spacing.py b/tests/import_spacing.py index a9856e7..f095ba1 100644 --- a/tests/import_spacing.py +++ b/tests/import_spacing.py @@ -17,20 +17,27 @@ from ..runners import * # comment here 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 .a.b.c.subprocess import * -from . import tasks +from . import (tasks) +from . import (A, B, C) +from . import SomeVeryLongNameAndAllOfItsAdditionalLetters1, \ + SomeVeryLongNameAndAllOfItsAdditionalLetters2 __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 +45,9 @@ __all__ = ( """The asyncio package, tracking PEP 3156.""" + # flake8: noqa + import sys # This relies on each of the submodules having an __all__ variable. @@ -54,18 +63,40 @@ from ..runners import * # comment here 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 .a.b.c.subprocess import * from . import tasks +from . import A, B, C +from . import ( + SomeVeryLongNameAndAllOfItsAdditionalLetters1, + SomeVeryLongNameAndAllOfItsAdditionalLetters2, +) __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__ )