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"]