mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-03 05:03:46 +00:00
## Summary This PR introduces top-level configuration for uv, such that you can do: ```toml [tool.uv] index-url = "https://test.pypi.org/simple" ``` And `uv pip compile`, `uv run`, `uv tool run`, etc., will all respect that configuration. The settings that were escalated to the top-level remain on `tool.uv.pip` too, but they're only respected in `uv pip` commands. If they're specified in both places, then the `pip` settings win out. While making this change, I also wired up some of the global options, like `connectivity` and `native_tls`, through to all the relevant places. Closes #4250. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||