find_repo_root#

dscat.paths.find_repo_root(start=None)[source]#

Walk up from start (or CWD) to the workspace root.

Honours DSCAT_ROOT if set. Otherwise the root is the nearest ancestor that holds a data/ directory or a pyproject.toml declaring a uv workspace.