From 9686f6ae94eef75c1c083521c5a60668bf662deb Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 3 Nov 2025 23:01:09 +0100 Subject: [PATCH] Avoid warning with ruff 0.14 warning: The following rules have been removed and ignoring them has no effect: - UP038 --- .pre-commit-config.yaml | 3 +-- pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8afc911e3..8313ced05 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,9 +13,8 @@ repos: - id: check-json - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.2 + rev: v0.14.3 hooks: - # Run the linter. - id: ruff-check args: [ --fix, "--show-fixes"] - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index 80f76a0db..e60b924d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -220,8 +220,6 @@ ignore = [ "SIM115", "SIM117", "TC003", - # https://github.com/astral-sh/ruff/issues/7871 - "UP038", # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", "E111",