Skip to content

Commit 598a8eb

Browse files
committed
FIx some stuff.
1 parent df7dc73 commit 598a8eb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/_pytask/traceback.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ class Traceback:
4747

4848
show_locals: ClassVar[bool] = False
4949
suppress: ClassVar[tuple[Path, ...]] = (
50-
# _PLUGGY_DIRECTORY,
51-
# TREE_UTIL_LIB_DIRECTORY,
52-
# _PYTASK_DIRECTORY,
50+
_PLUGGY_DIRECTORY,
51+
TREE_UTIL_LIB_DIRECTORY,
52+
_PYTASK_DIRECTORY,
5353
)
5454

5555
def __rich_console__(

src/pytask/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from _pytask.build import build
77
from _pytask.capture_utils import CaptureMethod
88
from _pytask.capture_utils import ShowCapture
9-
from _pytask.cli import cli
109
from _pytask.click import ColoredCommand
1110
from _pytask.click import ColoredGroup
1211
from _pytask.click import EnumChoice
@@ -74,6 +73,11 @@
7473
from _pytask.warnings_utils import warning_record_to_str
7574
from _pytask.warnings_utils import WarningReport
7675

76+
77+
# This import must come last, otherwise a circular import occurs.
78+
from _pytask.cli import cli # noreorder
79+
80+
7781
__all__ = [
7882
"BaseTable",
7983
"CaptureMethod",

0 commit comments

Comments
 (0)