-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14868f1
commit ae6936e
Showing
10 changed files
with
121 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING, Literal, TypeVar | ||
from typing import TYPE_CHECKING, TypeVar | ||
|
||
R = TypeVar("R") | ||
T = TypeVar("T") | ||
|
||
|
||
if TYPE_CHECKING: | ||
from typing import Literal # noqa: F401 | ||
|
||
from packaging.requirements import ( | ||
Requirement, # pyright: ignore[reportUnusedImport] # noqa: F401 | ||
) | ||
|
||
from ._typing_compat import TypeAlias | ||
from .overrides import ( | ||
OverrideDeps, # pyright: ignore[reportUnusedImport] # noqa: F401 | ||
) | ||
from .utils import _Missing # pyright: ignore[reportPrivateUsage] | ||
from .utils import _Missing # pyright: ignore[reportPrivateUsage] # noqa: F401 | ||
|
||
MISSING_TYPE = Literal[_Missing.MISSING] | ||
MISSING_TYPE: TypeAlias = "Literal[_Missing.MISSING]" | ||
|
||
RequirementCommentPair = "tuple[Requirement | None, str | None]" | ||
RequirementOverridePair = "tuple[Requirement | None, OverrideDeps | None]" | ||
RequirementCommentPair: TypeAlias = "tuple[Requirement | None, str | None]" | ||
RequirementOverridePair: TypeAlias = "tuple[Requirement | None, OverrideDeps | None]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.