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.
--todo
1 parent 127bd49 commit 02793b8Copy full SHA for 02793b8
src/summarycode/todo.py
@@ -188,6 +188,13 @@ def get_ambiguous_package_detections(codebase):
188
package_data = getattr(resource, 'package_data', []) or []
189
for package in package_data:
190
detection_type = None
191
+
192
+ # Top-level packages are not created for private packages so
193
+ # these should not be consider for package detection issues
194
+ is_private = package.get("is_private", False)
195
+ if is_private:
196
+ continue
197
198
if not package["purl"]:
199
if resource.path not in deps_datafile_paths and not resource.for_packages:
200
detection_type=PackageDetectionCategory.CANNOT_CREATE_PURL.value
0 commit comments