From f67b7eaf9b6d5a16f3312eea223fddaab0be9d23 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 27 Jan 2025 13:16:04 -0500 Subject: [PATCH] Reference workspaces in --no-sources documentation --- crates/uv-cli/src/lib.rs | 16 ++++++++-------- docs/reference/cli.md | 28 ++++++++++++++-------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index ae3fa565f6e0..a261824b648c 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -4245,8 +4245,8 @@ pub struct ToolUpgradeArgs { pub no_compile_bytecode: bool, /// Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the - /// standards-compliant, publishable package metadata, as opposed to using any local or Git - /// sources. + /// standards-compliant, publishable package metadata, as opposed to using any workspace, Git, + /// URL, or local path sources. #[arg(long, help_heading = "Resolver options")] pub no_sources: bool, @@ -4863,8 +4863,8 @@ pub struct InstallerArgs { pub no_compile_bytecode: bool, /// Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the - /// standards-compliant, publishable package metadata, as opposed to using any local or Git - /// sources. + /// standards-compliant, publishable package metadata, as opposed to using any workspace, Git, + /// URL, or local path sources. #[arg(long, help_heading = "Resolver options")] pub no_sources: bool, } @@ -5030,8 +5030,8 @@ pub struct ResolverArgs { pub link_mode: Option, /// Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the - /// standards-compliant, publishable package metadata, as opposed to using any local or Git - /// sources. + /// standards-compliant, publishable package metadata, as opposed to using any workspace, Git, + /// URL, or local path sources. #[arg(long, help_heading = "Resolver options")] pub no_sources: bool, } @@ -5247,8 +5247,8 @@ pub struct ResolverInstallerArgs { pub no_compile_bytecode: bool, /// Ignore the `tool.uv.sources` table when resolving dependencies. Used to lock against the - /// standards-compliant, publishable package metadata, as opposed to using any local or Git - /// sources. + /// standards-compliant, publishable package metadata, as opposed to using any workspace, Git, + /// URL, or local path sources. #[arg(long, help_heading = "Resolver options")] pub no_sources: bool, } diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 15b7ccd7e937..bf6e1364ce20 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -358,7 +358,7 @@ uv run [OPTIONS] [COMMAND]
--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-sync

Avoid syncing the virtual environment.

@@ -976,7 +976,7 @@ uv add [OPTIONS] >

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-sync

Avoid syncing the virtual environment

@@ -1333,7 +1333,7 @@ uv remove [OPTIONS] ...

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-sync

Avoid syncing the virtual environment after re-locking the project

@@ -1728,7 +1728,7 @@ uv sync [OPTIONS]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -2063,7 +2063,7 @@ uv lock [OPTIONS]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -2442,7 +2442,7 @@ uv export [OPTIONS]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -2798,7 +2798,7 @@ uv tree [OPTIONS]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -3253,7 +3253,7 @@ uv tool run [OPTIONS] [COMMAND]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -3580,7 +3580,7 @@ uv tool install [OPTIONS]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -3903,7 +3903,7 @@ uv tool upgrade [OPTIONS] ...

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--offline

Disable network access.

@@ -5726,7 +5726,7 @@ uv pip compile [OPTIONS] ...

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-strip-extras

Include extras in the output file.

@@ -6160,7 +6160,7 @@ uv pip sync [OPTIONS] ...

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-verify-hashes

Disable validation of hashes in the requirements file.

@@ -6595,7 +6595,7 @@ uv pip install [OPTIONS] |--editable May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-verify-hashes

Disable validation of hashes in the requirements file.

@@ -8347,7 +8347,7 @@ uv build [OPTIONS] [SRC]

May also be set with the UV_NO_PROGRESS environment variable.

--no-python-downloads

Disable automatic downloads of Python.

-
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any local or Git sources

+
--no-sources

Ignore the tool.uv.sources table when resolving dependencies. Used to lock against the standards-compliant, publishable package metadata, as opposed to using any workspace, Git, URL, or local path sources

--no-verify-hashes

Disable validation of hashes in the requirements file.