From 29a8fa1bc4ea2871a988d98d95dc00f294dc498e Mon Sep 17 00:00:00 2001 From: Jens Troeger Date: Fri, 10 Apr 2026 12:38:51 +1000 Subject: [PATCH] fix: update pylint settings and remove perflint because it does not (currently) work for pylint 4 --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 35267c88..a9e7b0ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,8 +48,7 @@ dev = [ "flit >=3.2.0,<4.0.0", "mypy >=1.0.0,!=1.20.2,<1.21", "pip-audit >=2.4.4,<3.0.0", - "pylint >=3.0.0,<4.1.0", - "perflint >=0.8.0,<1.0.0", + "pylint >=4.0.0,<4.1.0", "cyclonedx-bom >=7.0.0,<8.0.0", ] docs = [ @@ -176,9 +175,7 @@ ignore_missing_imports = true # https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html [tool.pylint.main] fail-under = 10.0 -suggestion-mode = true load-plugins = [ - "perflint", # A Linter for performance anti-patterns. "pylint.extensions.bad_builtin", "pylint.extensions.broad_try_clause", "pylint.extensions.check_elif", @@ -212,6 +209,7 @@ disable = [ "too-many-arguments", "too-many-boolean-expressions", "too-many-branches", + "too-many-function-args", "too-many-instance-attributes", "too-many-lines", "too-many-locals",