forked from aws/aws-sam-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
43 lines (37 loc) · 819 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel"] # PEP 508 specifications.
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # Pycodestyle
"F", # Pyflakes
"PL", # pylint
"I", # isort
]
ignore = ["PLR0913"]
[tool.ruff.lint.pylint]
max-branches = 25
max-returns = 8
max-statements = 80
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E501"]
"integration_uri.py" = ["E501"] # ARNs are long.
"app.py" = ["E501"] # Doc links are long.
[tool.black]
line-length = 120
target_version = ['py38', 'py37', 'py36']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.tox
| \.venv
| dist
| pip-wheel-metadata
| samcli/lib/init/templates
| tests/integration/testdata
)/
)
'''