You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cpolzer
changed the title
Question: lisencecheck failing because license unknown
Question: pre-commit licensecheck failing because license unknown
Jan 23, 2025
Yeah you're absolutely right that this lib supports quite a narrow subset of spdx licenses at this time. The reason for this is largely due to the time I can dedicate to the lib, and whilst IANAL etc, I'd still want to be confident that licenses are claim are compatible or not compatible are fairly likely to be correct. This has been changed to mark the license as UNKNOWN rather than not existing as that was some pretty misleading functionality!
It isn't really possible to identify what would be compatible with an unknown license imo. That said with proprietry its accpeted that permissive licenses like MIT are compatible but not more copyleft licenses like GPL and friends. Is that the issue you are now running into?
Uh oh!
There was an error while loading. Please reload this page.
Before You Begin
Before proceeding, please make sure to follow these steps:
Your Question
When using licensecheck as a pre-commit-hook with poetry and its toml file, i have to enter the
so that the hook does not fail.
In my current setup I have to use a "self" defined license which "licensecheck" does not know:
Is there any way I can configure licensecheck so it does not fail the pre-commit-hook on this matter?
EDIT:
i found that i can set the license to "proprietary", the warning is gone - but still the pre-commit hook fails:
Thanks in advance!
The text was updated successfully, but these errors were encountered: