From 0c49c03c1b7f8e9fde1dad2b13954c379cc34130 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 19:35:30 +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.15.22 → v0.16.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.0) --- .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 8b31f169..8d51288d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.0 hooks: - id: ruff name: ruff lint From a56c6ac487635ddc324273acc8439ccd22b6baa0 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 27 Jul 2026 22:12:54 +0200 Subject: [PATCH 2/2] Add ignore rule for too many branches in pyproject.toml --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 06f1bbcc..63138935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,12 +98,14 @@ ignore = [ "E501", # ignore imports which are not at the top of a module "PLC0415", + # Too many branches + "PLR0912", # Too many arguments in function definition "PLR0913", + # Too many not-keyword-only arguments, + "PLR0917", # Magic value used in comparison "PLR2004", - # Too many branches - "PLR0912", ] [tool.hatch.build]