From 7b25f89b3b42c4a7c1b3d7cefcf0a3b2da56a11e Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 24 Feb 2026 09:01:46 +0100 Subject: [PATCH 1/2] Bump ruff Fix this warning: warning: The following rules have been removed and ignoring them has no effect: - UP038 --- .pre-commit-config.yaml | 2 +- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dae3f4f63d..0285075309 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.2 hooks: - id: ruff-check - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index da0d7b3291..58bc385343 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,6 @@ ignore = [ "S404", "SIM105", "SIM115", - "UP038", # https://github.com/astral-sh/ruff/issues/7871 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111", From a1b4e3b986548bdad7a18db4c8b6fe051d20bd11 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 24 Feb 2026 11:30:38 -0500 Subject: [PATCH 2/2] Apply suggestion from @larsoner --- .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 0285075309..74620f58bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,4 +89,4 @@ repos: - types-chardet ci: - autoupdate_schedule: monthly + autoupdate_schedule: weekly