def find_project_config_path(path=None):
    """Find project config path."""
    path = Path(path) if path else Path.cwd()
    abspath = path.absolute()

    project_path = get_project_config_path(abspath)
    if project_path:
        return project_path

    for parent in abspath.parents:
        project_path = get_project_config_path(parent)
        if project_path:
            return project_path
def find_project_config_path ( path = None ) : path = Path ( path ) if path else Path . cwd ( ) abspath = path . absolute ( ) project_path = get_project_config_path ( abspath ) if project_path : return project_path for parent in abspath . parents : project_path = get_project_config_path ( parent ) if project_path : return project_path
Find project config path.