Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ways of having default dependency groups #9279

Open
awoimbee opened this issue Nov 20, 2024 · 1 comment
Open

Document ways of having default dependency groups #9279

awoimbee opened this issue Nov 20, 2024 · 1 comment
Labels
question Asking for clarification or support

Comments

@awoimbee
Copy link

The dependency-groups documentation (https://docs.astral.sh/uv/concepts/dependencies/#dependency-groups) should explain how to set default dependency groups included when running uv synv.

I see two ways:

[tool.uv]
default-groups = ["lint", "docs"]
[dependency-groups]
dev = [
    { include-group = "lint" },
    { include-group = "docs" },
]

I think this covers 95% of the use-cases of #8594

@charliermarsh
Copy link
Member

@charliermarsh charliermarsh added the question Asking for clarification or support label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

No branches or pull requests

2 participants