Skip to content

Commit 696f815

Browse files
committed
Fix dataclass annotation of child classes
1 parent b3ff96f commit 696f815

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/hermes_plugin_software_card/environment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def url_data(self) -> dict[str, str]:
4747
return {}
4848

4949

50+
@dataclass(kw_only=True)
5051
class GitLabCIEnvironment(Environment):
5152
"""Environment variables in the GitLab CI environment.
5253
@@ -119,6 +120,7 @@ def url_data(self) -> dict[str, str]:
119120
}
120121

121122

123+
@dataclass(kw_only=True)
122124
class GitHubActionsEnvironment(Environment):
123125
"""Environment variables in the GitHub Actions environment.
124126

0 commit comments

Comments
 (0)