Skip to content

Commit 6cfbc02

Browse files
committed
tidy
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent e69683b commit 6cfbc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx_py/_internal/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __add_components(self, bom: 'Bom',
186186
pep639_licenses = list(dist2licenses_pep639(dist, self._gather_license_texts, self._logger))
187187
pep639_lexp = find_LicenseExpression(pep639_licenses)
188188
if pep639_lexp is not None:
189-
component.licenses = (pep639_lexp,)
189+
component.licenses = (pep639_lexp,) # type:ignore[assignment]
190190
pep639_licenses.remove(pep639_lexp)
191191
if len(pep639_licenses) > 0:
192192
if find_LicenseExpression(component.licenses) is None:

0 commit comments

Comments
 (0)