Open henryiii opened 3 weeks ago
Agree, we should change the validation here.
@konstin do you know why we flag license-files
if it isn't a table?
The pyproject-toml
crate has an outdated version of the PEP, we need to fix this in that crate which will fix the rule.
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
).