-
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
Showing
3 changed files
with
59 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from typing import Annotated | ||
|
||
# Type aliases for common PyPI types | ||
type PyPIName = Annotated[str, "Name of the package on PyPi"] | ||
type PyPIVersion = Annotated[str, "Version of the package on PyPi"] | ||
type CondaVersion = Annotated[str, "Version of the package on Conda"] | ||
type CondaPackageName = Annotated[str, "Name of the package on Conda"] | ||
type CondaFileName = Annotated[ | ||
str, "File name of the package on Conda, e.g boltons-21.0.0-py310h06a4308_0.conda" | ||
] | ||
type PyPISourceUrl = Annotated[str, "Url of the package when its not on a PyPI index"] |
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