File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""Contains the main namespace for pytask."""
22
3- from __future__ import annotations
3+ from __future__ import annotations # noqa: I001
44
55from _pytask import __version__
66from _pytask ._hashlib import hash_value
77from _pytask .build import build
88from _pytask .capture_utils import CaptureMethod
99from _pytask .capture_utils import ShowCapture
1010
11- # _pytask.cli needs to be imported last because it triggers extending the cli and
12- # therefore loading plugins which will attempt to import modules that might only be
13- # partially initialized. Maybe not here, but definitely for plugins.
14- from _pytask .cli import cli # noreorder
11+
1512from _pytask .click import ColoredCommand
1613from _pytask .click import ColoredGroup
1714from _pytask .click import EnumChoice
7976from _pytask .warnings_utils import parse_warning_filter
8077from _pytask .warnings_utils import warning_record_to_str
8178
79+ # _pytask.cli needs to be imported last because it triggers extending the cli and
80+ # therefore loading plugins which will attempt to import modules that might only be
81+ # partially initialized. Maybe not here, but definitely for plugins.
82+ from _pytask .cli import cli
83+
8284__all__ = [
8385 "BaseTable" ,
8486 "CaptureMethod" ,
You can’t perform that action at this time.
0 commit comments