Skip to content

Commit e438295

Browse files
committed
style
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 2e0d75a commit e438295

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

cyclonedx/validation/json.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@
3030
from ..schema import SchemaVersion
3131

3232
from ..exception import MissingOptionalDependencyException
33-
from ..schema._res import BOM_JSON as _S_BOM, BOM_JSON_STRICT as _S_BOM_STRICT, JSF as _S_JSF, SPDX_JSON as _S_SPDX, CRYPTOGRAPHY_DEFS as _S_CDEFS
33+
from ..schema._res import (
34+
BOM_JSON as _S_BOM,
35+
BOM_JSON_STRICT as _S_BOM_STRICT,
36+
CRYPTOGRAPHY_DEFS as _S_CDEFS,
37+
JSF as _S_JSF,
38+
SPDX_JSON as _S_SPDX,
39+
)
3440
from . import BaseSchemabasedValidator, SchemabasedValidator, ValidationError
3541

3642
_missing_deps_error: Optional[tuple[MissingOptionalDependencyException, ImportError]] = None
@@ -128,7 +134,8 @@ def __make_validator_registry() -> Registry[Any]:
128134
with open(_S_SPDX) as spdx, open(_S_JSF) as jsf, open(_S_CDEFS) as cdefs:
129135
return Registry().with_resources([
130136
(f'{schema_prefix}spdx.SNAPSHOT.schema.json', DRAFT7.create_resource(json_loads(spdx.read()))),
131-
(f'{schema_prefix}cryptography-defs.SNAPSHOT.schema.json', DRAFT7.create_resource(json_loads(cdefs.read()))),
137+
(f'{schema_prefix}cryptography-defs.SNAPSHOT.schema.json',
138+
DRAFT7.create_resource(json_loads(cdefs.read()))),
132139
(f'{schema_prefix}jsf-0.82.SNAPSHOT.schema.json', DRAFT7.create_resource(json_loads(jsf.read()))),
133140
])
134141

0 commit comments

Comments
 (0)