-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support for PEP 639 in RUF200 #13869
Comments
Agree, we should change the validation here. @konstin do you know why we flag |
MichaReiser
added
rule
Implementing or modifying a lint rule
help wanted
Contributions especially welcome
labels
Oct 22, 2024
The |
konstin
added a commit
that referenced
this issue
Oct 24, 2024
PEP 639 is provisionally accepted, we were previously shipping definitions from an earlier draft. We don't validate all that's in the PEP (`license` vs. `license-files` compatibility, SPDX expressions), only the overall structure of pyproject.toml. Updates pep440_rs in the process. Fixes #13869
MichaReiser
pushed a commit
that referenced
this issue
Oct 25, 2024
PEP 639 is provisionally accepted, we were previously shipping definitions from an earlier draft. We don't validate all that's in the PEP (`license` vs. `license-files` compatibility, SPDX expressions), only the overall structure of pyproject.toml. Updates pep440_rs in the process. Fixes #13869
konstin
added a commit
that referenced
this issue
Nov 1, 2024
PEP 639 is provisionally accepted, we were previously shipping definitions from an earlier draft. We don't validate all that's in the PEP (`license` vs. `license-files` compatibility, SPDX expressions), only the overall structure of pyproject.toml. Updates pep440_rs in the process. Fixes #13869
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
--preview
, the following error is shown for PEP 639 style licenses:I don't fully understand the error message (
license-files
was never a string or table), but it would be good to support PEP 639,at least before this leaves preview(Edit: Ahh, this happens if you runruff check .
even without--preview
, I always use pre-commit except for checking--preview
).The text was updated successfully, but these errors were encountered: