LicenseCheck
LicenseCheck copied to clipboard
Feature: Option for more strict package excludes
Before You Begin
Before proceeding, please make sure to follow these steps:
- [x] I have checked for similar feature requests in the project's issue tracker to avoid duplicates.
- [x] I have searched existing issues to see if this feature has been discussed before.
Feature Details
Currently, one can only provide package name in ignore_packages list. Package licence might change over time, so it would be nice if one could provide package name and current package licence. This way, exclude would stop working on licence change for additional safety.
Is your feature request related to a problem? Please describe
There are some packages that are open source, but are missing licence metadata. I am adding them to ignored_packages, but would like to know if licence was changed (either from no licence metadata to valid licence metadata, or from licence that is acceptable to licence that is not compliant with my project).
Describe the solution you'd like
One could add licence name along with package name , e.g.
[tool.licensecheck]
ignore_packages = [
'mypackage,Unknown',
'pylint,GPL-2.0-or-later',
]