diff --git a/ghtc/models.py b/ghtc/models.py index d556092..df36a42 100644 --- a/ghtc/models.py +++ b/ghtc/models.py @@ -7,7 +7,6 @@ class ConventionalCommitType(enum.Enum): - OTHER = 0 BUILD = 1 CHORE = 2 @@ -23,14 +22,12 @@ class ConventionalCommitType(enum.Enum): @dataclass(frozen=True) class ConventionalCommitFooter: - key: str value: str @dataclass(frozen=True, unsafe_hash=True) class ConventionalCommitMessage: - type: ConventionalCommitType description: str breaking: bool @@ -41,7 +38,6 @@ class ConventionalCommitMessage: @dataclass(frozen=True) class ChangelogLine: - commit_message: ConventionalCommitMessage commit_sha: str commit_timestamp: int @@ -57,7 +53,6 @@ def __post_init__(self): @dataclass(frozen=True) class ChangelogEntryForATag: - tag_name: str tag_timestamp: int lines_by_type: Dict[ConventionalCommitType, List[ChangelogLine]] diff --git a/ghtc/utils.py b/ghtc/utils.py index 9d378a3..5c66129 100644 --- a/ghtc/utils.py +++ b/ghtc/utils.py @@ -8,7 +8,6 @@ class TagNotFound(Exception): - pass