From 70885cc4405a510fee46901833ad811e3bb7c6e9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:25:52 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.8) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ac49f1a..f6c6b240 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: # Ruff, the Python auto-correcting linter/formatter written in Rust - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.5 + rev: v0.6.8 hooks: - id: ruff args: ["--fix", "--show-fixes"] From 673d45431b3dfdd7ffda3bce89e51f2d38b10c3b Mon Sep 17 00:00:00 2001 From: Richard Preen Date: Wed, 2 Oct 2024 11:27:06 +0100 Subject: [PATCH 2/2] pylint: ignore too-many-positional-arguments --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 363bb74d..a03137a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,10 @@ enable = [ "useless-suppression", ] +disable = [ + "too-many-positional-arguments", +] + [tool.pylint.design] max-args = 5 # Maximum number of arguments for function / method (see R0913). max-attributes = 7 # Maximum number of attributes for a class (see R0902).