From 93d0c563765ff335b7cfe7c5c038ff0235fef858 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 14 Jan 2025 14:18:23 +0100 Subject: [PATCH] Upgrade ruff to 0.9.1 Starting with ruff 0.9.1, rules ISC001/ISC002 are documented to be compatible with the ruff formatter, if they are both enabled. Enable them! --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4986df2c..6ab3ffd2 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.8.4 + rev: v0.9.1 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/pyproject.toml b/pyproject.toml index 817f138c..af9aa377 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -219,8 +219,6 @@ ignore = [ "Q003", "COM812", "COM819", - "ISC001", - "ISC002", ] [tool.ruff.lint.extend-per-file-ignores]