Skip to content

agent-friendly L2-4: mypy on domain_dynamo - #19

Merged
patote85 merged 1 commit into
mainfrom
agent-friendly/l2-4-mypy-domain
Sep 24, 2026
Merged

patote85 merged 1 commit into
mainfrom
agent-friendly/l2-4-mypy-domain

Conversation

@patote85

Copy link
Copy Markdown
Owner

L2-4 — mypy on domain_dynamo

Changes

  • pyproject.toml: files = ["tests", "lambda/domain_dynamo.py"]; remove unused lambda.* ignore_errors override
  • Keep lambda/app.py out of mypy (Powertools resolver cost)
  • Makefile typecheck + CI Mypy step: mypy (reads pyproject files) — same target

Verification

  • Local: make typecheck green (3 files)
  • Prova negativa: return 123 in get_latest → mypy [return-value] fails make typecheck
  • No new ignore_errors / type: ignore / ruff relax

CAB waived.

Extend mypy files to lambda/domain_dynamo.py; drop unused lambda.* ignore_errors.
Makefile/CI typecheck: mypy (pyproject files). Keep app.py out.
@patote85
patote85 merged commit 5575bb8 into main Sep 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant