From 20a6d7aabc4e9fd333e7688636d0df9c7eb41563 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:55:36 +0800 Subject: [PATCH] :wrench: update pre-commit config --- .pre-commit-config.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d46c717..bf15b2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,11 +7,13 @@ ci: autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.0 + rev: v0.3.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] stages: [commit] + - id: ruff-format + stages: [commit] - repo: https://github.com/pycqa/isort rev: 5.13.2 @@ -19,12 +21,6 @@ repos: - id: isort stages: [commit] - - repo: https://github.com/psf/black - rev: 24.1.1 - hooks: - - id: black - stages: [commit] - - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: