astral-sh/uv

Support `all-extras` configuration for `uv sync` command

Open

#8,607 opened on Oct 27, 2024

View on GitHub
 (7 comments) (22 reactions) (0 assignees)Rust (3,111 forks)batch import
configurationhelp wanted

Repository metrics

Stars
 (84,934 stars)
PR merge metrics
 (Avg merge 7d 16h) (259 merged PRs in 30d)

Description

The tool.uv.pip configuration section allows setting all-extras = true which affects all subcommands in the uv pip namespace. Is it possible to add the same configuration for the [tool.uv] table? This will allow, for example, to use uv sync to sync all extras automatically (instead of having to type uv sync --all-extras).

The current section in the documentation, for reference:
image

$ uv --version
uv 0.4.27 (36b729e92 2024-10-25)

Contributor guide