From f5d39fff1375b5c4a28973e131c34a64f22533b1 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 28 Sep 2025 08:57:23 +0200 Subject: [PATCH] [ruff configuration] Fix legacy alias and top-level linter settings --- .pre-commit-config.yaml | 2 +- doc/en/example/.ruff.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e4f73eb9d2..afb862b9de5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.13.1" hooks: - - id: ruff + - id: ruff-check args: ["--fix"] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/doc/en/example/.ruff.toml b/doc/en/example/.ruff.toml index 1cbca296f8c..feddc5c0654 100644 --- a/doc/en/example/.ruff.toml +++ b/doc/en/example/.ruff.toml @@ -1 +1 @@ -ignore = ["RUF059"] +lint.ignore = ["RUF059"]