Skip to content

Commit

Permalink
Pass quiet and verbose flag to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Feb 26, 2024
1 parent 9a5e2fe commit 5e24dc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ _Unreleased_

- Fixed a panic when adding a package to a virtual project. #783

- Bumped `uv` to 0.1.11. #790

<!-- released start -->

## 0.26.0
Expand Down
12 changes: 6 additions & 6 deletions rye/src/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,7 @@ fn generate_lockfile(
py_ver.minor,
py_ver.patch,
if no_deps { " --no-deps" } else { "" }
))
.arg(if output == CommandOutput::Verbose {
"--verbose"
} else {
"-q"
});
));
if lock_options.pre {
cmd.arg("--pre");
}
Expand All @@ -429,6 +424,11 @@ fn generate_lockfile(
cmd.arg("-o")
.arg(&requirements_file)
.arg(requirements_file_in)
.arg(if output == CommandOutput::Verbose {
"--verbose"
} else {
"-q"
})
.current_dir(workspace_path)
.env("PYTHONWARNINGS", "ignore")
.env("PROJECT_ROOT", make_project_root_fragment(workspace_path));
Expand Down

0 comments on commit 5e24dc1

Please sign in to comment.