'project.license-files' is defined already. Remove 'tool.setuptools.license-files' #10290
Labels
Maintenance
Discussion or action around maintaining pylint or the dev workflow
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Bug description
I started randomly running into this issue in CI without any code changes and I'm confused as to why. I run pylint as part of pre-commit and during instantiation of pre-commit, I ran into the problem below. If this is better served in the pre-commit repo, please let me know.
Sure enough, going into the temporary repo in
/home/jerome/.cache/pre-commit/repoyqo4j89l
and modifying the pyproject.toml to remove that license line seems to fix it. I guess I'm also trying to sort out why it randomly broke in CI. We use python 3.11.3 and pip 23.3.2.Configuration
Command used
Pylint output
Expected behavior
pre-commit installs correctly
Pylint version
OS / Environment
Ubuntu 24.04
Additional dependencies
The text was updated successfully, but these errors were encountered: