Skip to content

Commit 8dc336f

Browse files
Small formatting fixes after black update
Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
1 parent 6817ca7 commit 8dc336f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/spdx_tools/spdx/parser/jsonlikedict/snippet_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def validate_pointer_and_get_type(pointer: Dict) -> RangeType:
127127

128128
@staticmethod
129129
def convert_range_from_str(
130-
_range: Tuple[Union[int, str], Union[int, str]]
130+
_range: Tuple[Union[int, str], Union[int, str]],
131131
) -> Tuple[Union[int, str], Union[int, str]]:
132132
# XML does not support integers, so we have to convert from string (if possible)
133133
if not _range:

src/spdx_tools/spdx3/bump_from_spdx2/relationship.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def bump_relationship(
218218

219219

220220
def determine_completeness_and_to(
221-
related_spdx_element_id: Union[str, SpdxNone, SpdxNoAssertion]
221+
related_spdx_element_id: Union[str, SpdxNone, SpdxNoAssertion],
222222
) -> Tuple[Optional[RelationshipCompleteness], List[str]]:
223223
if isinstance(related_spdx_element_id, SpdxNoAssertion):
224224
completeness = RelationshipCompleteness.NOASSERTION
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-FileCopyrightText: 2023 spdx contributors
22
#
33
# SPDX-License-Identifier: Apache-2.0
4-
""" This is a temporary package to write the implemented model of spdx_tools.spdx3.0 to console. As soon as
5-
serialization formats are properly defined this package can be deleted."""
4+
"""This is a temporary package to write the implemented model of spdx_tools.spdx3.0 to console. As soon as
5+
serialization formats are properly defined this package can be deleted."""

0 commit comments

Comments
 (0)