Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ssvc/decision_points/cvss/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

def _modify_3(dp: DecisionPoint):
_dp_dict = deepcopy(dp.model_dump())
_dp_dict["name"] = f"Modified {_dp_dict["name"]}"
_dp_dict["key"] = f"M{_dp_dict["key"]}"
_dp_dict["name"] = f'Modified {_dp_dict["name"]}'
_dp_dict["key"] = f'M{_dp_dict["key"]}'

# if there is no value named "Not Defined" value, add it
nd = NOT_DEFINED_X
Expand Down
2 changes: 1 addition & 1 deletion src/ssvc/doctools.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def dump_schemas(jsondir):
schemapaths: list[dict(str, str)] = []

# selection schema
schemafile = f"Decision_Point_Value_Selection-{_filename_friendly(ssvc.selection.SCHEMA_VERSION, replacement="-")}.schema.json"
schemafile = f"Decision_Point_Value_Selection-{_filename_friendly(ssvc.selection.SCHEMA_VERSION, replacement='-')}.schema.json"
schemapath = os.path.join(schemadir, schemafile)
selection_schema = SelectionList.model_json_schema()
schemapaths.append({"filepath": schemapath, "schema": selection_schema})
Expand Down