Skip to content

Commit 5657065

Browse files
committed
Add missing dataclass decorator
This is needed for mypy, otherwise the use of fields() is flagged.
1 parent d1ba4cb commit 5657065

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/e3/spdx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def to_json_dict(self) -> dict[str, Any]:
114114
return {self.json_entry_key: self.value}
115115

116116

117+
@dataclass
117118
class SPDXSection:
118119
"""Describe a SPDX section."""
119120

0 commit comments

Comments
 (0)