Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: ruff check lambda tests cdk

- name: Mypy
run: mypy tests
run: mypy

test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lint:
ruff check lambda tests cdk

typecheck:
mypy tests
mypy

synth:
npx --yes aws-cdk@2 synth
Expand Down
9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ ignore_missing_imports = true
warn_return_any = false
warn_unused_configs = true
check_untyped_defs = false
# `lambda/` is a reserved package name; CDK stubs are heavy — typecheck tests only for now.
files = ["tests"]

[[tool.mypy.overrides]]
module = "lambda.*"
ignore_errors = true
# Typecheck tests + domain_dynamo (HTTP app.py stays out — Powertools resolver cost).
# No ignore_errors on domain.
files = ["tests", "lambda/domain_dynamo.py"]
Loading