Skip to content

Commit

Permalink
fix: remove circular import from type hints (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: brandon <[email protected]>
  • Loading branch information
BPHarris and brandon authored Jun 12, 2024
1 parent b4d29d8 commit d73d692
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions rattr/analyser/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@

from typing import TYPE_CHECKING

from rattr.analyser.types import (
KeywordArgumentName,
LocalIdentifier,
PositionalArgumentName,
TargetName,
)
from rattr.ast.types import Identifier

if TYPE_CHECKING:
from collections.abc import Callable
from typing import TypeVar

from rattr.analyser.types import (
KeywordArgumentName,
LocalIdentifier,
PositionalArgumentName,
TargetName,
)
from rattr.ast.types import Identifier
from rattr.versioning.typing import ParamSpec

P = ParamSpec("P")
Expand Down

0 comments on commit d73d692

Please sign in to comment.