Skip to content

Commit a44bc79

Browse files
committed
lower pylint crit
1 parent 255e999 commit a44bc79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ select = [
141141
unfixable = []
142142

143143
[tool.ruff.lint.mccabe]
144-
max-complexity = 23
144+
max-complexity = 15
145145

146146
[tool.ruff.lint.per-file-ignores]
147147
"**/{doc}/*" = ["B018", "D103"]
@@ -151,10 +151,10 @@ convention = "numpy"
151151

152152
[tool.ruff.lint.pylint]
153153
# https://docs.astral.sh/ruff/settings/#lint_pylint_max-args
154-
max-args = 27
154+
max-args = 15
155155
# https://docs.astral.sh/ruff/settings/#lint_pylint_max-branches
156-
max-branches = 22
156+
max-branches = 15
157157
# https://docs.astral.sh/ruff/settings/#lint_pylint_max-returns
158-
max-returns = 8
158+
max-returns = 5
159159
# https://docs.astral.sh/ruff/settings/#lint_pylint_max-statements
160-
max-statements = 96
160+
max-statements = 100

0 commit comments

Comments
 (0)