Skip to content

Commit f024def

Browse files
committed
style: remove unused typehints
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent c559e3f commit f024def

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
@@ -192,7 +192,7 @@ def __add_components(self, bom: 'Bom',
192192
pep639_licenses = list(dist2licenses_pep639(dist, self._gather_license_texts, self._logger))
193193
pep639_lexp = find_LicenseExpression(pep639_licenses)
194194
if pep639_lexp is not None:
195-
component.licenses = (pep639_lexp,) # type:ignore[assignment]
195+
component.licenses = (pep639_lexp,)
196196
pep639_licenses.remove(pep639_lexp)
197197
if len(pep639_licenses) > 0:
198198
if find_LicenseExpression(component.licenses) is None:

0 commit comments

Comments
 (0)