Skip to content

Commit 6ff646e

Browse files
committed
fix: update pylint settings and remove perflint because it does not (currently) work for pylint 4
1 parent eed699b commit 6ff646e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ dev = [
4848
"flit >=3.2.0,<4.0.0",
4949
"mypy >=1.0.0,<1.21",
5050
"pip-audit >=2.4.4,<3.0.0",
51-
"pylint >=3.0.0,<4.1.0",
52-
"perflint >=0.8.0,<1.0.0",
51+
"pylint >=4.0.0,<4.1.0",
5352
"cyclonedx-bom >=4.0.0,<5.0.0",
5453
]
5554
docs = [
@@ -177,9 +176,7 @@ ignore_missing_imports = true
177176
# https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html
178177
[tool.pylint.main]
179178
fail-under = 10.0
180-
suggestion-mode = true
181179
load-plugins = [
182-
"perflint", # A Linter for performance anti-patterns.
183180
"pylint.extensions.bad_builtin",
184181
"pylint.extensions.broad_try_clause",
185182
"pylint.extensions.check_elif",
@@ -213,6 +210,7 @@ disable = [
213210
"too-many-arguments",
214211
"too-many-boolean-expressions",
215212
"too-many-branches",
213+
"too-many-function-args",
216214
"too-many-instance-attributes",
217215
"too-many-lines",
218216
"too-many-locals",

0 commit comments

Comments
 (0)