Code cleanup and improvements.
This commit is contained in:
@@ -176,7 +176,7 @@ def _parse_patch_note(value: object) -> tuple[float, PatchNote] | None:
|
||||
sections=_parse_sections(value.get("changes")),
|
||||
published_at=_format_timestamp(timestamp),
|
||||
)
|
||||
return (timestamp if timestamp is not None else -1.0, patch)
|
||||
return timestamp if timestamp is not None else -1.0, patch
|
||||
|
||||
|
||||
def _parse_tags(value: object) -> tuple[str, ...]:
|
||||
|
||||
Reference in New Issue
Block a user