Skip to content

Commit

Permalink
Add type stubs for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed May 16, 2024
1 parent 293153f commit e471f8f
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_lambda_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
working-directory: ./distribution/lambda
- name: Lint and format
run: |
mypy --version
mypy .
black . --check
working-directory: ./distribution/lambda
Expand Down
7 changes: 4 additions & 3 deletions distribution/lambda/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ boto3 = "1.28.59"
mypy = "1.7.0"
ziglang = "0.11.0"

# boto3-stubs = "^1.28.39"
# types-requests = "^2.31.0.2"
# types-pyyaml = "^6.0.12.11"

[dev-packages]

boto3-stubs = "1.28.59"
types-requests = "2.31.0.2"
types-pyyaml = "6.0.12.11"

[requires]
python_version = ">=3.10,<4.0"
73 changes: 69 additions & 4 deletions distribution/lambda/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e471f8f

Please sign in to comment.