No description
Find a file
2026-08-02 16:20:44 -04:00
.agents/skills Reuse implementation agents within batches 2026-08-02 11:22:51 -04:00
.codex Configure uv cache for sandboxed checks 2026-08-01 17:41:24 -04:00
src/forgejo_api Fix formatting 2026-08-02 16:20:44 -04:00
tests Add package API support 2026-08-02 16:14:34 -04:00
.gitignore Streamline Forgejo endpoint skill workflows 2026-08-01 17:37:57 -04:00
.python-version Create initial Forgejo API Project 2026-07-28 06:13:41 -04:00
AGENTS.md Replace issue URL static methods 2026-08-02 15:34:46 -04:00
LICENSE Add MIT license 2026-07-28 06:44:07 -04:00
pyproject.toml Standardize Python imports 2026-08-02 07:06:54 -04:00
README.md Fix trailing references to the old name 2026-07-31 13:48:11 -04:00
uv.lock Add example with Pydantic 2026-07-31 14:48:38 -04:00

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 pytest
  • uv run pytest tests
  • uv 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 google
  • uv run pdoc forgejo_api --docformat google --output-directory docs