-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (40 loc) · 1 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tool.poetry]
name = "aws-cdk-bedrock-lambda-poc"
version = "0.0.1"
description = "Sample PoC for a Lambda Function that uses Bedrock deployed with IaC on CDK"
authors = ["Santiago Garcia Arango <san99tiago@gmail.com>"]
license = "Apache"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
aws-cdk-lib = "2.110.0"
constructs = ">=10.0.0,<11.0.0"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.24.3"
pytest = "^7.4.3"
pytest-mock = "^3.12.0"
coverage = "^7.3.2"
boto3 = "^1.29.3"
fastapi = {extras = ["all"], version = "^0.104.1"}
mangum = "^0.17.0"
[tool.pytest.ini_options]
minversion = "6.0"
pythonpath = [
"cdk",
"src",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
deploy = "cdk deploy --require-approval never"
test-unit = "coverage run -m pytest tests/unit"
test-unit-html = "coverage html"
[tool.coverage.run]
branch = true
source = ["src", "cdk"]
omit = [
"**/__init__.py"
]
[tool.coverage.report]
show_missing = false