Skip to content

Commit

Permalink
Merge pull request #149 from shunichironomura/resolve-ruff-errors
Browse files Browse the repository at this point in the history
Refactor imports in _decorator.py
  • Loading branch information
shunichironomura authored Jan 29, 2024
2 parents 41ad03f + 4652468 commit d86f161
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions capsula/_decorator.py
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion coverage/badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d86f161

Please sign in to comment.