diff --git a/capsula/_decorator.py b/capsula/_decorator.py index d77dc741..0479fab0 100644 --- a/capsula/_decorator.py +++ b/capsula/_decorator.py @@ -1,21 +1,17 @@ from __future__ import annotations -from functools import wraps -from pathlib import Path -from typing import TYPE_CHECKING, Callable, Literal, Tuple, TypeVar, Union - -from capsula._reporter import ReporterBase -from capsula.encapsulator import Encapsulator +from typing import TYPE_CHECKING, Callable, Literal, TypeVar from ._backport import ParamSpec -from ._context import ContextBase from ._run import CapsuleParams, FuncInfo, Run -from ._watcher import WatcherBase if TYPE_CHECKING: - from collections.abc import Sequence + from pathlib import Path + + from capsula._reporter import ReporterBase - from ._backport import TypeAlias + from ._context import ContextBase + from ._watcher import WatcherBase _P = ParamSpec("_P") _T = TypeVar("_T") diff --git a/coverage/badge.svg b/coverage/badge.svg index 000194b0..be55c8ff 100644 --- a/coverage/badge.svg +++ b/coverage/badge.svg @@ -1 +1 @@ -coverage: 62.65%coverage62.65% \ No newline at end of file +coverage: 64.11%coverage64.11% \ No newline at end of file