pr-reviewer/pyproject.toml
Adam Moussa 46cd856fb3
Add pr-reviewer local PR review tool
A single-user local dashboard that pulls open PRs from the
Sea-Haven-Industries org, reviews each with a Fireworks model in the
BLOCK/FIX/NIT/QUESTION format, and posts the review to GitHub as the
token owner. Runs only on localhost; secrets stay in a gitignored .env
and never reach the browser.

Structured as an app/ package plus a static/ frontend so the module
imports and static mount resolve. HTTP uses httpx2 (the runtime lib
starlette's TestClient now prefers), pinned in requirements.txt.

Includes a stdlib-only pytest suite (network mocked, no extra test
deps so CI needs only pytest) with a skip-by-default live Fireworks
test, and CI wired to the org ci-python-app reusable workflow to lint
app and tests and run the mocked suite fully offline. Dependabot covers
pip and github-actions.
2026-07-01 13:48:10 -04:00

8 lines
380 B
TOML

[tool.pytest.ini_options]
testpaths = ["tests"]
# The mocked suite runs fully offline with no secrets. The single live test is
# marked `live` and is skipped automatically when FIREWORKS_API_KEY is unset, so
# a plain `pytest` run is safe in CI. Use `-m "not live"` to force-skip it.
markers = [
"live: hits the real Fireworks API (needs FIREWORKS_API_KEY; skipped in CI)",
]