-
-
Notifications
You must be signed in to change notification settings - Fork 601
Description
If we scan beartype-0.17.2-py3-none-any.whl we get the following output scan:
beartype-0.17.2.json
This has a lot of unknown-license-references
detected for the following reasons:
The following header is present in every .py
file:
# --------------------( LICENSE )--------------------
# Copyright (c) 2014-2024 Beartype authors.
# See "LICENSE" for further details.
The referenced license file is present at:
beartype-0.17.2-py3-none-any.whl-extract/beartype-0.17.2.dist-info/LICENSE
which is not the root of the scan directory, but rather a ecosystem specific location that we need to look into, so we miss this LICENSE file as we only look at sibling files and files at root.
We should implement something like get_key_files() for each ecosystem specific handler, and use this in the following license references logic.
pombredanne