Skip to content

Commit 29a8fa1

Browse files
committed
fix: update pylint settings and remove perflint because it does not (currently) work for pylint 4
1 parent 519989f commit 29a8fa1

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.20.2,<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 >=7.0.0,<8.0.0",
5453
]
5554
docs = [
@@ -176,9 +175,7 @@ ignore_missing_imports = true
176175
# https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html
177176
[tool.pylint.main]
178177
fail-under = 10.0
179-
suggestion-mode = true
180178
load-plugins = [
181-
"perflint", # A Linter for performance anti-patterns.
182179
"pylint.extensions.bad_builtin",
183180
"pylint.extensions.broad_try_clause",
184181
"pylint.extensions.check_elif",
@@ -212,6 +209,7 @@ disable = [
212209
"too-many-arguments",
213210
"too-many-boolean-expressions",
214211
"too-many-branches",
212+
"too-many-function-args",
215213
"too-many-instance-attributes",
216214
"too-many-lines",
217215
"too-many-locals",

0 commit comments

Comments
 (0)