X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6c3ce53b60b68ca2b532935aeee89729f0bd9fd9..8406fcd9af20b7d614fc5e23e94d21e73be7368c:/tests/import_spacing.py diff --git a/tests/import_spacing.py b/tests/import_spacing.py index bd00812..0c98650 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,29 @@ 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 name_of_a_company.extremely_long_project_name.extremely_long_component_name.ttypes import * + 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__ ) @@ -40,6 +52,8 @@ __all__ = ( """The asyncio package, tracking PEP 3156.""" # flake8: noqa + +from logging import ERROR import sys # This relies on each of the submodules having an __all__ variable. @@ -55,18 +69,44 @@ 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 name_of_a_company.extremely_long_project_name.extremely_long_component_name.ttypes import * + 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__ )