Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Feb 2, 2024
1 parent 914fddd commit 0b03d1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vunnel/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
NVD_SCHEMA_VERSION = "1.0.0"
OSV_SCHEMA_VERSION = "1.6.1"


@dataclass(frozen=True)
class Schema:
version: str
Expand Down Expand Up @@ -57,6 +58,7 @@ def NVDSchema(version: str = NVD_SCHEMA_VERSION) -> Schema:
url=f"https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/nvd/schema-{version}.json",
)


def OSVSchema(version: str = OSV_SCHEMA_VERSION) -> Schema:
return Schema(
version=version,
Expand Down

0 comments on commit 0b03d1f

Please sign in to comment.