uv

Default configuration for uv #

uvx bron add bron http://bron.sh/c/uv/locktask.toml

Part of the default setup. This will add a uv-lock task to the fonk taskrunner. This task checks if the uv.lock file is up to date with your pyproject.toml file. In --fix mode it will update the uv.lock file if needed.

Source #

[tool.fonk.alias.all]
commands = ["uv-lock"]

[tool.fonk.command.uv-lock]
type = "shell"
description = "Check if the lock file is up to date"
arguments = ["uv", "lock", "--check"]
flags = [
    {on = "verbose", add = "--verbose"},
    {on = "quiet", add = "--quiet"},
    {on = "fix", remove = "--check"},
]
Download c/uv/locktask.toml