From 8ed89b7be7fd5550fa8c4c6ce7a885076377f6ba Mon Sep 17 00:00:00 2001
From: Boming Zhang <bomingzh@sjtu.edu.cn>
Date: Tue, 8 Oct 2024 16:02:01 -0400
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 18abe15..9e09225 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,7 @@
 ---
 repos:
     - repo: https://github.com/pre-commit/pre-commit-hooks
-      rev: v4.6.0
+      rev: v5.0.0
       hooks:
           - id: check-yaml
           - id: end-of-file-fixer
@@ -26,12 +26,12 @@ repos:
             entry: make build
             language: system
             always_run: true
-            stages: [commit]
+            stages: [pre-commit]
             pass_filenames: false
           - id: make-test
             name: make test
             entry: make test
             language: system
             always_run: true
-            stages: [commit]
+            stages: [pre-commit]
             pass_filenames: false