Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some form of License check? #41

Open
notatallshaw-gts opened this issue Jan 29, 2025 · 0 comments
Open

Some form of License check? #41

notatallshaw-gts opened this issue Jan 29, 2025 · 0 comments

Comments

@notatallshaw-gts
Copy link

It occurs to me that uv is in a good position to some kind of license check as part of pre-commit. Especially with PEP 639 recently added.

Maybe it would depend on astral-sh/uv#8156 / astral-sh/uv#10292

In general I can imagine a few options I would be interested in, validate the name of the license, validate the text of the license up to some template (i.e. should match some standard text + copyright lines), only unknown licenses for specifically named dependencies, some distinction on PEP 639 license expressions vs. previous ad-hoc license text.

Not sure how much of an ask this is, understand if it's not a priority for Astral.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant