Skip to content

Commit d8775bc

Browse files
committed
Reverts
1 parent e6a6c20 commit d8775bc

File tree

4 files changed

+7
-127
lines changed

4 files changed

+7
-127
lines changed

bar.py

-18
This file was deleted.

bar.py.lock

-106
This file was deleted.

crates/uv-cli/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3089,10 +3089,10 @@ pub struct LockArgs {
30893089
#[arg(long, conflicts_with = "check_exists", conflicts_with = "check")]
30903090
pub dry_run: bool,
30913091

3092-
/// Remove the dependency from the specified Python script, rather than from a project.
3092+
/// Lock the specified Python script, rather than the current project.
30933093
///
3094-
/// If provided, uv will remove the dependency from the script's inline metadata
3095-
/// table, in adherence with PEP 723.
3094+
/// If provided, uv will lock the script based on its inline metadata table, in adherence
3095+
/// with PEP 723.
30963096
#[arg(long)]
30973097
pub script: Option<PathBuf>,
30983098

docs/reference/cli.md

+4
Original file line numberDiff line numberDiff line change
@@ -2123,6 +2123,10 @@ uv lock [OPTIONS]
21232123

21242124
<li><code>lowest-direct</code>: Resolve the lowest compatible version of any direct dependencies, and the highest compatible version of any transitive dependencies</li>
21252125
</ul>
2126+
</dd><dt><code>--script</code> <i>script</i></dt><dd><p>Lock the specified Python script, rather than the current project.</p>
2127+
2128+
<p>If provided, uv will lock the script based on its inline metadata table, in adherence with PEP 723.</p>
2129+
21262130
</dd><dt><code>--upgrade</code>, <code>-U</code></dt><dd><p>Allow package upgrades, ignoring pinned versions in any existing output file. Implies <code>--refresh</code></p>
21272131

21282132
</dd><dt><code>--upgrade-package</code>, <code>-P</code> <i>upgrade-package</i></dt><dd><p>Allow upgrades for a specific package, ignoring pinned versions in any existing output file. Implies <code>--refresh-package</code></p>

0 commit comments

Comments
 (0)