X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b1a7600b0a0691821926a07015f7bc66ca0ae4e9..3eab6d3131acd14b5900519d8447c8a1152e6d87:/tests/import_spacing.py diff --git a/tests/import_spacing.py b/tests/import_spacing.py index 87a5301..cefa1e9 100644 --- a/tests/import_spacing.py +++ b/tests/import_spacing.py @@ -2,6 +2,9 @@ # flake8: noqa +from logging import ( + ERROR, +) import sys # This relies on each of the submodules having an __all__ variable. @@ -17,20 +20,28 @@ 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 name_of_a_company.extremely_long_project_name.component.ttypes import CuteLittleServiceHandlerFactoryyy + 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__ ) @@ -41,6 +52,7 @@ __all__ = ( # flake8: noqa +from logging import ERROR import sys # This relies on each of the submodules having an __all__ variable. @@ -56,18 +68,43 @@ 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 name_of_a_company.extremely_long_project_name.component.ttypes import ( + CuteLittleServiceHandlerFactoryyy +) + 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__ )