docs: add a link to `uv python pin` docs (#9630)

The current docs are not clear for those who are not fimiliar with the
'pin' commnad. Adding a link instead of adding more instructions.
This commit is contained in:
Udi Oron 2024-12-04 19:11:04 +02:00 committed by GitHub
parent 6ed6fc108e
commit a6f5180c27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ The `.python-version` file can be used to create a default Python version reques
described above can be used, though use of a version number is recommended for interopability with described above can be used, though use of a version number is recommended for interopability with
other tools. other tools.
A `.python-version` file can be created in the current directory with the `uv python pin` command. A `.python-version` file can be created in the current directory with the
[`uv python pin`](../reference/cli.md/#uv-python-pin) command.
Discovery of `.python-version` files can be disabled with `--no-config`. Discovery of `.python-version` files can be disabled with `--no-config`.