No description
- Python 100%
| .agents/skills | ||
| .codex | ||
| src/forgejo_api | ||
| tests | ||
| .gitignore | ||
| .python-version | ||
| AGENTS.md | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
Forgejo API
This library defines uvx commands to automate workflows through the Forgejo API. The intended consumers of these commands are AI agents.
The initial commands focus on pull request workflows, with room to support additional Forgejo resources over time.
Development tools
Developers are expected to use the following commands and tools when working on this project.
Tests
Run unit and integration tests.
uv run pytestuv run pytest testsuv run pytest integration
Types
Perform static type checking.
uv run ty check
Lint
Check for common mistakes and best-practice violations.
uv run ruff check .
Format
Format code according to PEP 8.
uv run ruff format .
Docs
Preview or generate API documentation from Google-style docstrings.
uv run pdoc forgejo_api --docformat googleuv run pdoc forgejo_api --docformat google --output-directory docs