diff --git a/.github/workflows/publish_lambda_packages.yml b/.github/workflows/publish_lambda_packages.yml index 1054ac9f871..f3c222851b7 100644 --- a/.github/workflows/publish_lambda_packages.yml +++ b/.github/workflows/publish_lambda_packages.yml @@ -22,6 +22,7 @@ jobs: working-directory: ./distribution/lambda - name: Lint and format run: | + mypy --version mypy . black . --check working-directory: ./distribution/lambda diff --git a/distribution/lambda/Pipfile b/distribution/lambda/Pipfile index ff1276eff81..8466152f883 100644 --- a/distribution/lambda/Pipfile +++ b/distribution/lambda/Pipfile @@ -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" diff --git a/distribution/lambda/Pipfile.lock b/distribution/lambda/Pipfile.lock index ef793536af2..816493a853c 100644 --- a/distribution/lambda/Pipfile.lock +++ b/distribution/lambda/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "9caa095766b297b06aa32752a0081a4d482fb51f8cedc337a5843f270fe3629f" + "sha256": "3621061856dcd17c715e63d291911e16a0fc4ab7de6d5bca71567077dfff4ab2" }, "pipfile-spec": 6, "requires": { @@ -252,7 +252,7 @@ "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==2.9.0.post0" }, "pyyaml": { @@ -326,7 +326,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "tomli": { @@ -377,5 +377,70 @@ "version": "==0.11.0" } }, - "develop": {} + "develop": { + "boto3-stubs": { + "hashes": [ + "sha256:4d8f4387e128561413a54944396a3d316b3113aa9c74ccf34ff850c2e0e4bb9a", + "sha256:921e5ef6acf22736191087d7fef08d095353310b752d4f341d975f0965fe176b" + ], + "index": "pypi", + "markers": "python_version >= '3.7'", + "version": "==1.28.59" + }, + "botocore-stubs": { + "hashes": [ + "sha256:64d80a3467e3b19939e9c2750af33328b3087f8f524998dbdf7ed168227f507d", + "sha256:b0345f55babd8b901c53804fc5c326a4a0bd2e23e3b71f9ea5d9f7663466e6ba" + ], + "markers": "python_version >= '3.8' and python_version < '4.0'", + "version": "==1.34.94" + }, + "types-awscrt": { + "hashes": [ + "sha256:3ae374b553e7228ba41a528cf42bd0b2ad7303d806c73eff4aaaac1515e3ea4e", + "sha256:64898a2f4a2468f66233cb8c29c5f66de907cf80ba1ef5bb1359aef2f81bb521" + ], + "markers": "python_version >= '3.7' and python_version < '4.0'", + "version": "==0.20.9" + }, + "types-pyyaml": { + "hashes": [ + "sha256:7d340b19ca28cddfdba438ee638cd4084bde213e501a3978738543e27094775b", + "sha256:a461508f3096d1d5810ec5ab95d7eeecb651f3a15b71959999988942063bf01d" + ], + "index": "pypi", + "version": "==6.0.12.11" + }, + "types-requests": { + "hashes": [ + "sha256:56d181c85b5925cbc59f4489a57e72a8b2166f18273fd8ba7b6fe0c0b986f12a", + "sha256:6aa3f7faf0ea52d728bb18c0a0d1522d9bfd8c72d26ff6f61bfc3d06a411cf40" + ], + "index": "pypi", + "version": "==2.31.0.2" + }, + "types-s3transfer": { + "hashes": [ + "sha256:02154cce46528287ad76ad1a0153840e0492239a0887e8833466eccf84b98da0", + "sha256:49a7c81fa609ac1532f8de3756e64b58afcecad8767933310228002ec7adff74" + ], + "markers": "python_version >= '3.8' and python_version < '4.0'", + "version": "==0.10.1" + }, + "types-urllib3": { + "hashes": [ + "sha256:229b7f577c951b8c1b92c1bc2b2fdb0b49847bd2af6d1cc2a2e3dd340f3bda8f", + "sha256:9683bbb7fb72e32bfe9d2be6e04875fbe1b3eeec3cbb4ea231435aa7fd6b4f0e" + ], + "version": "==1.26.25.14" + }, + "typing-extensions": { + "hashes": [ + "sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0", + "sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a" + ], + "markers": "python_version < '3.11'", + "version": "==4.11.0" + } + } }