Module ds.parsers.pyproject_toml
pyproject.toml parser.
Global variables
var WORKSPACE_PARSERS : Dict[str, Callable[[Config, str], Dict[pathlib.Path, bool]]]-
Locations of workspace parsers in
pyproject.toml. var TASK_PARSERS : Dict[str, Callable[[Config, str], Dict[str, Task]]]-
Locations of task parsers in
pyproject.toml.
Functions
def loads(s: str, /, *, parse_float: ParseFloat = builtins.float) ‑> dict[str, typing.Any]-
Parse TOML from a string.
def parse_workspace(config: Config) ‑> Dict[pathlib.Path, bool]-
pyproject.tomlworkspaces are tool-specific. def parse_tasks(config: Config) ‑> Dict[str, Task]-
pyproject.tomltasks are tool-specific.