Skip to content

Commit

Permalink
Reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Dec 23, 2024
1 parent e6a6c20 commit d8775bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 127 deletions.
18 changes: 0 additions & 18 deletions bar.py

This file was deleted.

106 changes: 0 additions & 106 deletions bar.py.lock

This file was deleted.

6 changes: 3 additions & 3 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3089,10 +3089,10 @@ pub struct LockArgs {
#[arg(long, conflicts_with = "check_exists", conflicts_with = "check")]
pub dry_run: bool,

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

Expand Down
4 changes: 4 additions & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2123,6 +2123,10 @@ uv lock [OPTIONS]

<li><code>lowest-direct</code>: Resolve the lowest compatible version of any direct dependencies, and the highest compatible version of any transitive dependencies</li>
</ul>
</dd><dt><code>--script</code> <i>script</i></dt><dd><p>Lock the specified Python script, rather than the current project.</p>

<p>If provided, uv will lock the script based on its inline metadata table, in adherence with PEP 723.</p>

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

</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>
Expand Down

0 comments on commit d8775bc

Please sign in to comment.