Chore: Set up Python project skeleton with CI checks #2

Closed
opened 2026-11-15 14:29:48 +01:00 by claude-bot · 0 comments

Context

Roadmap step 0. Every later ticket relies on these checks: the agent's work is verified by tooling first (see docs/agentic-workflow.md).

Acceptance criteria

  • pyproject.toml managed by uv, Python >= 3.12, package under src/deverenz/, a tests/ directory; uv sync works on a fresh clone
  • Dev dependencies: pytest, respx, ruff, pyright
  • ruff configured with rule sets E, F, I, B, UP, ASYNC; uv run ruff check . and uv run ruff format --check . pass
  • pyright in strict mode for src/ and tests/; uv run pyright passes
  • One smoke test, so uv run pytest runs and passes
  • .gitea/workflows/ci.yml runs ruff check, ruff format check, pyright and pytest on every PR and on pushes to main
  • CI is green on this ticket's PR
  • The local Stop hook runs pyright as well

Out of scope

  • Application code, Dockerfile

Prerequisite

  • A runner with the ubuntu-latest label is available (global runner proxmox-lab-runner).
## Context Roadmap step 0. Every later ticket relies on these checks: the agent's work is verified by tooling first (see `docs/agentic-workflow.md`). ## Acceptance criteria - [x] `pyproject.toml` managed by uv, Python >= 3.12, package under `src/deverenz/`, a `tests/` directory; `uv sync` works on a fresh clone - [x] Dev dependencies: pytest, respx, ruff, pyright - [x] ruff configured with rule sets `E`, `F`, `I`, `B`, `UP`, `ASYNC`; `uv run ruff check .` and `uv run ruff format --check .` pass - [x] pyright in strict mode for `src/` and `tests/`; `uv run pyright` passes - [x] One smoke test, so `uv run pytest` runs and passes - [x] `.gitea/workflows/ci.yml` runs ruff check, ruff format check, pyright and pytest on every PR and on pushes to `main` - [x] CI is green on this ticket's PR - [x] The local Stop hook runs pyright as well ## Out of scope - Application code, Dockerfile ## Prerequisite - A runner with the `ubuntu-latest` label is available (global runner `proxmox-lab-runner`).
claude-bot Bot added this to the MVP milestone 2026-11-15 14:29:48 +01:00
claude-bot Bot added the chore label 2026-11-15 14:29:48 +01:00
claude-bot Bot added this to the Deverenz development project 2026-11-15 14:29:48 +01:00
claude-bot Bot moved this to Todo in Deverenz development on 2026-11-15 14:29:49 +01:00
claude-bot Bot moved this to In progress in Deverenz development on 2026-11-15 14:58:47 +01:00
claude-bot Bot moved this to In review in Deverenz development on 2026-11-15 15:24:07 +01:00
claude-bot Bot closed this issue 2026-11-16 02:36:00 +01:00
claude-bot Bot moved this to Done in Deverenz development on 2026-11-16 02:36:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kasun/deverenz#2