forked from aws-solutions-library-samples/data-lakes-on-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
30 lines (24 loc) · 779 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
[tool.ruff]
extend-exclude = ["sdlf-cicd/sam-translate.py"]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
extend-select = ["I", "PL", "W"]
ignore = ["PLR0912", "PLR0913", "PLR0915"]
fixable = ["I001", "W291"]
[tool.pylint.main]
py-version = "3.12"
ignore-paths = ["^/sdlf-cicd/sam-translate.py"]
jobs = 0
[tool.pylint.format]
max-line-length = 120
max-module-lines = 1500
[tool.pylint.logging]
# The type of string formatting that logging methods do. `old` means using %
# formatting, `new` is for `{}` formatting.
logging-format-style = "new"
# Logging modules to check that the string format arguments are in logging
# function parameter format.
logging-modules = ["logging", "datalake_library.commons"]
[tool.pylint.similarities]
min-similarity-lines = 10