Skip to content

Commit 59254fe

Browse files
committed
migrate pylint options to toml
1 parent f25df97 commit 59254fe

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,10 @@ show_missing = true
124124

125125
[tool.bandit]
126126
exclude_dirs = ["tests"]
127+
128+
[tool.pylint.main]
129+
jobs = 0
130+
fail-under = 9
131+
132+
[tool.pylint.messages_control]
133+
enable = ["R0911", "R0912", "R0913", "R0915"]

validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -ex
44
ruff format --check .
55
ruff check .
66
mypy --install-types --non-interactive dataall_core
7-
pylint -j 0 --disable=all --enable=R0911,R0912,R0913,R0915 --fail-under=9 dataall_core
7+
pylint dataall_core
88
poetry check --lock

0 commit comments

Comments
 (0)