fix: correct function placement in aider_gitea/__main__.py

This commit is contained in:
Jon Michael Aanes (aider) 2025-04-13 17:26:36 +02:00
parent 7c0d9b3643
commit 4770c54868

View File

@ -160,6 +160,7 @@ def load_issue_from_sqlite(issue_number: str, db_path: Path) -> tuple[str, str]:
return result
else:
raise ValueError(f"Issue {issue_number} not found in the database.")
def parse_args():
parser = argparse.ArgumentParser(description="Download issues and create pull requests for a Gitea repository.")
parser.add_argument("--owner", required=True, help="Owner of the repository")