-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for building pinned artifacts
This change allows poetry projects to be configured via pyproject.toml to optionally enable version pinning and also to include nested dependencies for application wheels.
- Loading branch information
Showing
9 changed files
with
545 additions
and
12 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
Empty file.
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 enum import Enum | ||
|
||
|
||
class LockCategory(Enum): | ||
MAIN = "main" | ||
DEV = "dev" | ||
|
||
def __eq__(self, other): | ||
if not isinstance(other, Enum): | ||
return self.value == other | ||
super(LockCategory, self).__eq__(other) |
Oops, something went wrong.