File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
"""Contains the main namespace for pytask."""
2
2
3
- from __future__ import annotations
3
+ from __future__ import annotations # noqa: I001
4
4
5
5
from _pytask import __version__
6
6
from _pytask ._hashlib import hash_value
7
7
from _pytask .build import build
8
8
from _pytask .capture_utils import CaptureMethod
9
9
from _pytask .capture_utils import ShowCapture
10
10
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
+
15
12
from _pytask .click import ColoredCommand
16
13
from _pytask .click import ColoredGroup
17
14
from _pytask .click import EnumChoice
79
76
from _pytask .warnings_utils import parse_warning_filter
80
77
from _pytask .warnings_utils import warning_record_to_str
81
78
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
+
82
84
__all__ = [
83
85
"BaseTable" ,
84
86
"CaptureMethod" ,
You can’t perform that action at this time.
0 commit comments