find_pyproject_toml

config.find_pyproject_toml(start_dir='.')

Walk up the directory tree to find a pyproject.toml file.

Parameters

Name Type Description Default
start_dir str | Path Directory from which to begin searching. Defaults to the current working directory. '.'

Returns

Name Type Description
Path | None Resolved path to the first pyproject.toml found, or None if none exists in the tree.