-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedContribution especially encouragedContribution especially encouraged
Description
With uv==0.4.6, running uv python pin 3.12, the made .python-version file does not have trailing whitespace.
This is a little suboptimal because:
- GitHub will show the "missing trailing whitespace" red icon in the diff
- If using https://github.com/pre-commit/pre-commit-hooks's
trailing-whitespace, it will give a nonzero return code and autofix the.python-versionfile to have trailing whitespace
Can we have uv python pin either:
- By default create the
.python-versionfile with trailing whitespace - Add a configuration/CLI flag
--trailing-whitespaceforuv python pinto add the trailing whitespace
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedContribution especially encouragedContribution especially encouraged