Skip to content

Commit

Permalink
Add __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
saadmk11 committed Mar 15, 2023
1 parent 45d90bd commit 49039e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,18 @@ class UpdateVersionWith(str, Enum):
LATEST_RELEASE_COMMIT_SHA = "release-commit-sha"
DEFAULT_BRANCH_COMMIT_SHA = "default-branch-sha"

def __repr__(self):
return self.value


class ReleaseType(str, Enum):
MAJOR = "major"
MINOR = "minor"
PATCH = "patch"

def __repr__(self):
return self.value


class ActionEnvironment(BaseSettings):
repository: str
Expand Down

0 comments on commit 49039e5

Please sign in to comment.