From 415d47fd3b5fb0b24edf2f406905d642766dc3e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:42:47 +0000 Subject: [PATCH 1/3] chore: update pre-commit ruff hook --- .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 a8a67b5f..5a55cc8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.12 + rev: v0.14.6 hooks: - id: ruff args: ["--fix", "--show-fixes"] From a9e0366ecf7332972d61e544c156982264dbb13f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 7 Jul 2025 22:43:26 +0200 Subject: [PATCH 2/3] Update pre-commit legacy alias --- .pre-commit-config.yaml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a55cc8a..59c2c983 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.6 hooks: - - id: ruff + - id: ruff-check args: ["--fix", "--show-fixes"] - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index b3017991..4792757b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -204,6 +204,7 @@ ignore = [ "PT001", "PT011", "PT012", + "PT031", "RET505", "RET506", "SIM108", From 57a59ba3cb9f1684c283ef5343e3a9c65e42aa87 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 21 Nov 2025 23:00:59 +0100 Subject: [PATCH 3/3] remove obsolete ruff rule warning: The following rules have been removed and ignoring them has no effect: - UP038 --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4792757b..164ba5dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -211,7 +211,6 @@ ignore = [ "TRY003", "TRY301", "UP007", - "UP038", # https://github.com/astral-sh/ruff/issues/7871 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",