python-license-check
python-license-check copied to clipboard
Support globs for license matches
Let's say you have a project which uses fluent-logger
, stevedore
, and typed-ast
. These three all have an apache license, but running liccheck against them looks like this:
fluent-logger (0.9.6): ['Apache License, Version 2.0']
dependency:
fluent-logger
stevedore (2.0.1): ['Apache Software']
dependency:
stevedore
typed-ast (1.4.1): ['Apache License 2.0']
dependency:
typed-ast
which means that instead of this
authorized_licenses:
apache
I have to do this
authorized_licenses:
apache license, version 2.0
apache software
apache license 2.0
I think it would be nice to support globs, in order to match all three with something similar to the intuitive one while still keeping readability high
authorized_licenses:
apache*