From 03d4577739c71b6ffee594690af502e3b1f6b650 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 7 Jul 2025 22:24:28 +0200 Subject: [PATCH] Bump ruff and update pre-commit legacy alias --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f016000984..563c87aee0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,9 +6,9 @@ ci: default_stages: [pre-commit, pre-push] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.9 + rev: v0.12.2 hooks: - - id: ruff + - id: ruff-check args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/codespell-project/codespell diff --git a/pyproject.toml b/pyproject.toml index 53b37d6c6d..a48a5eea25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -324,6 +324,8 @@ ignore = [ "ANN401", "PT011", # TODO: apply this rule "PT012", # TODO: apply this rule + "PT030", # TODO: apply this rule + "PT031", # TODO: apply this rule "RET505", "RET506", "RUF005",