Skip to content

Commit

Permalink
Skip --native-tls in pip compile header (#9913)
Browse files Browse the repository at this point in the history
## Summary

I also omitted `--no-progress` (we omit `--verbose` and `--quiet` --
this seems similar).

Part of: #9873.
  • Loading branch information
charliermarsh authored Dec 15, 2024
1 parent 9e2e9f2 commit d4c2c46
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions crates/uv/src/commands/pip/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,18 @@ fn cmd(
return Some(None);
}

// Always skip the `--no-progress` flag.
if arg == "--no-progress" {
*skip_next = None;
return Some(None);
}

// Always skip the `--native-tls` flag.
if arg == "--native-tls" {
*skip_next = None;
return Some(None);
}

// Return the argument.
Some(Some(arg))
})
Expand Down

0 comments on commit d4c2c46

Please sign in to comment.