From 39ac208a4deb48e3a3ef1b163b222778c1b43e2c Mon Sep 17 00:00:00 2001 From: uy_sun Date: Mon, 14 Oct 2024 13:25:54 +0800 Subject: [PATCH] chore: update pre-commit hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bfe3643..768c980 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,11 +6,11 @@ ci: autoupdate_commit_msg: "chore: auto update by pre-commit hooks" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: v0.6.9 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - stages: [commit] + stages: [pre-commit] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-prettier @@ -18,4 +18,4 @@ repos: hooks: - id: prettier types_or: [javascript, jsx, ts, tsx, markdown, yaml, json] - stages: [commit] + stages: [pre-commit]