-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (34 loc) · 860 Bytes
/
Copy pathpyproject.toml
File metadata and controls
40 lines (34 loc) · 860 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
36
37
38
39
40
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # Pycodestyle
"F", # Pyflakes
"PL", # pylint
"I", # isort
]
# PLR0917 (too-many-positional-arguments) became stable in ruff 0.16, and "PL" selects it.
# Ignored for the same reason as PLR0913: the builder and workflow constructors take their
# arguments positionally by design.
ignore = ["PLR0913", "PLR0917", "PLC0415"]
[tool.ruff.lint.pylint]
max-branches = 13
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E501"]
"aws_lambda_builders/workflow.py" = ["E501"]
[tool.black]
line-length = 120
target_version = ['py310', 'py311', 'py312', 'py313', 'py314']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.tox
| \.venv
| build
| dist
| pip-wheel-metadata
)/
)
'''