forked from FullStackWithLawrence/aws-openai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (32 loc) · 754 Bytes
/
pyproject.toml
File metadata and controls
35 lines (32 loc) · 754 Bytes
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
[build-system]
requires = ["flake8", "gitlint", "bump2version"]
[tool.isort]
profile = "black"
lines_after_imports = 2
[tool.black]
line-length = 120
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| node_modules
| build
| buck-out
| build
| dist
| lambda_dist_pkg
)/
'''
[tool.flake8]
ignore = "D205,D413,D400,D401"
max-line-length =120
max-complexity = 10
exclude = "api/terraform/python/lambda_openai/venv, api/terraform/python/lambda_openai/lambda_dist_pkg, api/terraform/python/lambda_openai_v2/lambda_dist_pkg, api/terraform/python/lambda_langchain/lambda_dist_pkg"
extend-exclude = "*__init__.py,*__version__.py,venv,lambda_dist_pkg"
select = "C101"