Remove conflict between --no-sync and --frozen in uv run (#9400)

## Summary

For reasons outlined in the linked issue, this is needlessly strict.

Closes https://github.com/astral-sh/uv/issues/9397.
This commit is contained in:
Charlie Marsh
2024-11-24 20:18:27 -05:00
committed by GitHub
parent e485dfd7f1
commit d47cf10042
+1 -1
View File
@@ -2731,7 +2731,7 @@ pub struct RunArgs {
///
/// Implies `--frozen`, as the project dependencies will be ignored (i.e., the lockfile will not
/// be updated, since the environment will not be synced regardless).
#[arg(long, env = EnvVars::UV_NO_SYNC, value_parser = clap::builder::BoolishValueParser::new(), conflicts_with = "frozen")]
#[arg(long, env = EnvVars::UV_NO_SYNC, value_parser = clap::builder::BoolishValueParser::new())]
pub no_sync: bool,
/// Assert that the `uv.lock` will remain unchanged.