Skip to content

Commit 3af3af5

Browse files
pocotitibujnok01
andauthored
Fix typo in no-deps docs/comments/cli description (#11073)
## Summary Fixes a recurring typo. ## Details There's a typo appearing in a particular sentence... > Ignore package dependencies, instead only add those packages explicitly listed on the command line to the resulting **the** requirements file. ... used in: * `crates/uv-cli/src/lib.rs` * `crates/uv-settings-src-settings.rs` * `docs/reference/settings.md` * `uv.schem.json` Docs, comments and a CLI command description seem affected. This PR fixes it. --------- Co-authored-by: bujnok01 <[email protected]>
1 parent f6a15b7 commit 3af3af5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

crates/uv-cli/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ pub struct PipCompileArgs {
10151015
pub refresh: RefreshArgs,
10161016

10171017
/// Ignore package dependencies, instead only add those packages explicitly listed
1018-
/// on the command line to the resulting the requirements file.
1018+
/// on the command line to the resulting requirements file.
10191019
#[arg(long)]
10201020
pub no_deps: bool,
10211021

crates/uv-settings/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ pub struct PipOptions {
11121112
)]
11131113
pub no_extra: Option<Vec<ExtraName>>,
11141114
/// Ignore package dependencies, instead only add those packages explicitly listed
1115-
/// on the command line to the resulting the requirements file.
1115+
/// on the command line to the resulting requirements file.
11161116
#[option(
11171117
default = "false",
11181118
value_type = "bool",

docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5711,7 +5711,7 @@ uv pip compile [OPTIONS] <SRC_FILE>...
57115711
</dd><dt><code>--no-cache</code>, <code>-n</code></dt><dd><p>Avoid reading from or writing to the cache, instead using a temporary directory for the duration of the operation</p>
57125712

57135713
<p>May also be set with the <code>UV_NO_CACHE</code> environment variable.</p>
5714-
</dd><dt><code>--no-deps</code></dt><dd><p>Ignore package dependencies, instead only add those packages explicitly listed on the command line to the resulting the requirements file</p>
5714+
</dd><dt><code>--no-deps</code></dt><dd><p>Ignore package dependencies, instead only add those packages explicitly listed on the command line to the resulting requirements file</p>
57155715

57165716
</dd><dt><code>--no-emit-package</code> <i>no-emit-package</i></dt><dd><p>Specify a package to omit from the output resolution. Its dependencies will still be included in the resolution. Equivalent to pip-compile&#8217;s <code>--unsafe-package</code> option</p>
57175717

docs/reference/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2521,7 +2521,7 @@ are already installed.
25212521
<span id="no-deps"></span>
25222522

25232523
Ignore package dependencies, instead only add those packages explicitly listed
2524-
on the command line to the resulting the requirements file.
2524+
on the command line to the resulting requirements file.
25252525

25262526
**Default value**: `false`
25272527

uv.schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)