forked from aws-samples/lambda-hexagonal-architecture-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (67 loc) · 1.53 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
authors = [
"Michal Ploski <[email protected]>",
"Dominik Goby <[email protected]>",
"Furkan Oruc <[email protected]>",
"Darius Kunce <[email protected]>",
]
description = "Example demo application using hexagonal architecture"
name = "hexagonal-architecture-python"
version = "0.1.0"
[tool.poetry.dependencies]
aws-cdk-lib = "2.29.0"
'aws-cdk.aws-lambda-python-alpha' = "2.29.0a0"
constructs = "^10.0.108"
python = ">3.8,<4.0.0"
GitPython = "^3.1.30"
[tool.poetry.dev-dependencies]
assertpy = "^1.1"
pytest = "^7.1.1"
pytest-mock = "^3.7.0"
moto = "3.1.16"
pip-licenses = "^3.5.4"
pyproject-flake8 = "^0.0.1-alpha.4"
black = {version = "^22.6.0", allow-prereleases = true}
flake8-black = "^0.3.3"
isort = "^5.10.1"
cdk-nag = "^2.17.1"
bandit = "^1.7.4"
toml = "^0.10.2"
[tool.poetry.dependencies.hexagonal-architecture-python-external-libraries]
path = "./app/libraries"
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39']
include = '\.pyi?$'
[tool.flake8]
max-line-length = 100
per-file-ignores =[
'__init__.py:F401'
]
count = true
[tool.isort]
profile = "black"
[tool.mypy]
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = false
warn_unreachable = true
show_error_codes = true
pretty = true
[[tool.mypy.overrides]]
module = [
'botocore.*',
'aws_lambda_powertools.*',
'boto3.*',
'pytest',
'aws_cdk.*',
'constructs',
'assertpy',
'pydantic',
'moto',
'retry',
'requests',
'mypy_boto3_dynamodb'
]
ignore_missing_imports = true