-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
60 lines (53 loc) · 2.09 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
[tool.isort]
sections=["FUTURE", "STDLIB", "THIRDPARTY", "AWS", "FIRSTPARTY", "LOCALFOLDER"]
known_aws=["aws_cdk","aws_lambda_powertools","aws_solutions_constructs","awscrt","awsiot","cdk_nag","chalice","constructs","boto3","botocore"]
import_heading_stdlib="Standard Library"
import_heading_thirdparty="Third Party Libraries"
import_heading_aws="AWS Libraries"
import_heading_localfolder="Connected Mobility Solution on AWS"
profile = "black"
[tool.bandit]
exclude_dirs = ["cdk.out", "build", ".mypy_cache", ".venv", "*/test_*.py", "*/test_*.py"]
[tool.pylint.'SIMILARITIES']
# Ignore comments when computing similarities.
ignore-comments=true
# Ignore docstrings when computing similarities.
ignore-docstrings=true
# Ignore imports when computing similarities.
ignore-imports=true
# Minimum lines number of a similarity.
min-similarity-lines=10
[tool.pylint.'DESIGN']
# Maximum number of arguments for function / method.
max-args=14
# Maximum number of attributes for a class (see R0902).
max-attributes=20
# Maximum number of boolean expressions in an if statement (see R0916).
max-bool-expr=5
# Maximum number of branch for function / method body.
max-branches=12
# Maximum number of locals for function / method body.
max-locals=20
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of public methods for a class (see R0904).
max-public-methods=20
# Maximum number of return / yield for function / method body.
max-returns=2
# Maximum number of statements in function / method body.
max-statements=60
# Minimum number of public methods for a class (see R0903).
min-public-methods=0
[tool.pylint.'MESSAGES CONTROL']
# C0114, C0115, C0116 are for docstrings which we don't use
# W0613 alarms on unused arguments
# R0801 duplicated code false alarms on IAM statements
# R0917 too many positional arguments
disable = "C0114, C0115, C0116, W0613, R0801, R0917"
[tool.pylint.'FORMAT']
max-line-length=200
[tool.pylint.'TYPECHECK']
generated-members=["aws_lambda.Runtime"]