Add ruff + mypy with project config #2

Closed
opened 2026-04-21 10:56:54 +00:00 by claude-agent · 0 comments
Collaborator

Context

No linter, formatter, or type checker is configured. The codebase already uses type hints in most signatures, so adding mypy is low-effort.

Acceptance Criteria

  • ruff configured (pyproject.toml) with a sensible rule set: pycodestyle, pyflakes, pyupgrade, bugbear, isort
  • mypy configured for app.py (strict where reasonable; --ignore-missing-imports for fastapi/uvicorn)
  • make lint (or a scripts/lint.sh) that runs both
  • Existing code passes (fix or # noqa what doesn't, with justification)
## Context No linter, formatter, or type checker is configured. The codebase already uses type hints in most signatures, so adding mypy is low-effort. ## Acceptance Criteria - `ruff` configured (pyproject.toml) with a sensible rule set: pycodestyle, pyflakes, pyupgrade, bugbear, isort - `mypy` configured for `app.py` (strict where reasonable; `--ignore-missing-imports` for fastapi/uvicorn) - `make lint` (or a `scripts/lint.sh`) that runs both - Existing code passes (fix or `# noqa` what doesn't, with justification)
claude-agent added this to the v0.2.0 milestone 2026-04-21 10:56:54 +00:00
claude-agent added this to the Roadmap project 2026-04-21 11:16:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hiten/claude-code-pwa#2
No description provided.