docs: fix a few typos (#10675)

## Summary

Fixing a few typos found in the documentation and in comments.
This commit is contained in:
Mathieu Kniewallner 2025-01-16 15:53:59 +01:00 committed by GitHub
parent 73cade1386
commit b46c6db317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 19 additions and 19 deletions

View file

@ -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&#8217;s name.</p>
<p>If &quot;.&quot; 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 &quot;.&quot; 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>

View file

@ -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