This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 2523ee106f [CI] Update pre-commit configuration (#18448)
2523ee106f is described below

commit 2523ee106f329cafaa8184356e29ab6bed988ac2
Author: Guan-Ming (Wesley) Chiu <[email protected]>
AuthorDate: Fri Nov 14 20:45:35 2025 +0800

    [CI] Update pre-commit configuration (#18448)
    
    Update pre-commit configuration
---
 .pre-commit-config.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 982b78180f..4377602ebf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,20 +32,20 @@
 #
 
 default_language_version:
-    python: python3.6
+    python: python3.9
 fail_fast: True
-default_stages: [push]
+default_stages: [pre-push]
 repos:
     - repo: https://github.com/pre-commit/pre-commit-hooks
-      rev: v2.3.0
+      rev: v6.0.0
       hooks:
         - id: check-added-large-files
         - id: check-merge-conflict
         - id: check-yaml
         - id: end-of-file-fixer
-          stages: [push]
+          stages: [pre-push]
         - id: trailing-whitespace
-          stages: [push]
+          stages: [pre-push]
     - repo: local
       hooks:
         -   id: run-black

Reply via email to