Skip to content

Some form of License check? #41

Open
@notatallshaw-gts

Description

@notatallshaw-gts

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions