diff --git a/pr_agent/config_loader.py b/pr_agent/config_loader.py index 6d9b443e..2e81f13b 100644 --- a/pr_agent/config_loader.py +++ b/pr_agent/config_loader.py @@ -36,8 +36,7 @@ def _find_repository_root() -> Path: if (cwd / ".git").is_dir(): return cwd cwd = cwd.parent - raise FileNotFoundError("Could not find the repository root directory") - + return None def _find_pyproject() -> Optional[Path]: """