mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 13:58:29 +00:00
Misc projects docs grammar fixes (#7048)
Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
42b6bfbad7
commit
c1effd6b05
1 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ definitions with [package sources](./dependencies.md) in `tool.uv.sources`.
|
|||
|
||||
uv uses the standard `[project.scripts]` table to define entry points for the project.
|
||||
|
||||
For example, to declare an command called `hello` that invokes the `hello` function in the
|
||||
For example, to declare a command called `hello` that invokes the `hello` function in the
|
||||
`example_package_app` module:
|
||||
|
||||
```toml title="pyproject.toml"
|
||||
|
@ -360,8 +360,8 @@ up-to-date, an error will be raised instead of updating the lockfile.
|
|||
### Upgrading locked package versions
|
||||
|
||||
By default, uv will prefer the locked versions of packages when running `uv sync` and `uv lock`.
|
||||
Package versions will only change if project's dependency constraints exclude the previous, locked
|
||||
version. To upgrade to the latest package versions supported by the project's dependency
|
||||
Package versions will only change if the project's dependency constraints exclude the previous,
|
||||
locked version. To upgrade to the latest package versions supported by the project's dependency
|
||||
constraints, use `uv lock --upgrade`.
|
||||
|
||||
### Limited resolution environments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue