mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
Quick fix for github action
This commit is contained in:
@ -42,9 +42,11 @@ def _find_pyproject() -> Optional[Path]:
|
|||||||
"""
|
"""
|
||||||
Search for file pyproject.toml in the repository root.
|
Search for file pyproject.toml in the repository root.
|
||||||
"""
|
"""
|
||||||
|
repo_root = _find_repository_root()
|
||||||
|
if repo_root:
|
||||||
pyproject = _find_repository_root() / "pyproject.toml"
|
pyproject = _find_repository_root() / "pyproject.toml"
|
||||||
return pyproject if pyproject.is_file() else None
|
return pyproject if pyproject.is_file() else None
|
||||||
|
return None
|
||||||
|
|
||||||
pyproject_path = _find_pyproject()
|
pyproject_path = _find_pyproject()
|
||||||
if pyproject_path is not None:
|
if pyproject_path is not None:
|
||||||
|
Reference in New Issue
Block a user