Module ds.parsers.uv_toml

uv.toml parser.

Functions

def loads(s: str, /, *, parse_float: ParseFloat = builtins.float) ‑> dict[str, typing.Any]

Parse TOML from a string.

def parse_workspace(config: Config, key: str = 'tool.uv.workspace') ‑> Dict[pathlib.Path, bool]

Workspaces are in tool.uv.workspace (pyproject.toml) or workspace (uv.toml).

See: - https://docs.astral.sh/uv/concepts/workspaces/#workspace-roots - https://docs.astral.sh/uv/reference/settings/#workspace

def parse_tasks(config: Config) ‑> Dict[str, Task]

uv does not define tasks.