From f235782eb4efb416e8589a3c7dd2d39a61d8f8af Mon Sep 17 00:00:00 2001 From: thebaptiste Date: Mon, 18 Dec 2023 14:29:04 +0000 Subject: [PATCH] build: fix black errors --- ghtc/models.py | 5 ----- ghtc/utils.py | 1 - 2 files changed, 6 deletions(-) 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