Plain is headed towards 1.0! Subscribe for development updates →
1from pathlib import Path 2 3 4def has_pyproject_toml(target_path): 5 return (Path(target_path) / "pyproject.toml").exists()