mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
docs: fix a few typos (#10675)
## Summary Fixing a few typos found in the documentation and in comments.
This commit is contained in:
parent
73cade1386
commit
b46c6db317
9 changed files with 19 additions and 19 deletions
|
@ -8035,7 +8035,7 @@ uv venv [OPTIONS] [PATH]
|
|||
|
||||
<p>By default, the prompt is dependent on whether a path was provided to <code>uv venv</code>. If provided (e.g, <code>uv venv project</code>), the prompt is set to the directory name. If not provided (<code>uv venv</code>), the prompt is set to the current directory’s name.</p>
|
||||
|
||||
<p>If "." is provided, the the current directory name will be used regardless of whether a path was provided to <code>uv venv</code>.</p>
|
||||
<p>If "." is provided, the current directory name will be used regardless of whether a path was provided to <code>uv venv</code>.</p>
|
||||
|
||||
</dd><dt><code>--python</code>, <code>-p</code> <i>python</i></dt><dd><p>The Python interpreter to use for the virtual environment.</p>
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ transitive dependencies.
|
|||
```toml title="pyproject.toml"
|
||||
[tool.uv]
|
||||
# Ensure that the grpcio version is always less than 1.65, if it's requested by a
|
||||
# transitive dependency.
|
||||
# direct or transitive dependency.
|
||||
constraint-dependencies = ["grpcio<1.65"]
|
||||
```
|
||||
|
||||
|
@ -107,8 +107,8 @@ not appear in the project's published metadata.
|
|||
|
||||
Use of this field is not recommend anymore. Instead, use the `dependency-groups.dev` field
|
||||
which is a standardized way to declare development dependencies. The contents of
|
||||
`tool.uv.dev-dependencies` and `dependency-groups.dev` are combined to determine the the
|
||||
final requirements of the `dev` dependency group.
|
||||
`tool.uv.dev-dependencies` and `dependency-groups.dev` are combined to determine the final
|
||||
requirements of the `dev` dependency group.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
||||
|
@ -131,7 +131,7 @@ By default, uv will resolve for all possible environments during a `uv lock` ope
|
|||
However, you can restrict the set of supported environments to improve performance and avoid
|
||||
unsatisfiable branches in the solution space.
|
||||
|
||||
These environments will also respected when `uv pip compile` is invoked with the
|
||||
These environments will also be respected when `uv pip compile` is invoked with the
|
||||
`--universal` flag.
|
||||
|
||||
**Default value**: `[]`
|
||||
|
@ -161,7 +161,7 @@ higher priority than any indexes specified via [`index_url`](#index-url) or
|
|||
[`extra_index_url`](#extra-index-url). uv will only consider the first index that contains
|
||||
a given package, unless an alternative [index strategy](#index-strategy) is specified.
|
||||
|
||||
If an index is marked as `explicit = true`, it will be used exclusively for those
|
||||
If an index is marked as `explicit = true`, it will be used exclusively for the
|
||||
dependencies that select it explicitly via `[tool.uv.sources]`, as in:
|
||||
|
||||
```toml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue