We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66176bc commit d8a7947Copy full SHA for d8a7947
cyclonedx_py/_internal/cli.py
@@ -186,10 +186,10 @@ def _shorten_purls(self, bom: 'Bom') -> bool:
186
if component.purl is not None:
187
purl = component.purl
188
component.purl = type(purl)(
189
- type=purl.type, # type:ignore[arg-type]
190
- namespace=purl.namespace, # type:ignore[arg-type]
191
- name=purl.name, # type:ignore[arg-type]
192
- version=purl.version # type:ignore[arg-type]
+ type=purl.type,
+ namespace=purl.namespace,
+ name=purl.name,
+ version=purl.version
193
# omit qualifiers
194
# omit subdirectory
195
)
0 commit comments