Skip to content

Commit

Permalink
Add SPDXPackageSupplier enum
Browse files Browse the repository at this point in the history
  • Loading branch information
leocardao committed Oct 27, 2023
1 parent 8016bdb commit 14d6372
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/e3/spdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
class InvalidSPDX(Exception):
"""Raise an exception when the SPDX document cannot be generated."""

pass


class SPDXPackageSupplier(Enum):
ORGANIZATION = "Organization"
PERSON = "Person"
TOOL = "Tool"


class SPDXEntry(metaclass=ABCMeta):
"""Describe a SPDX Entry."""
Expand Down

0 comments on commit 14d6372

Please sign in to comment.