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

potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-10-test by this push:
     new add8e9d1a37 ci(pre-commit): migrate pre-commit config (#43372)
add8e9d1a37 is described below

commit add8e9d1a37279d1755138756a194d1dad693f93
Author: Wei Lee <[email protected]>
AuthorDate: Sat Oct 26 00:33:16 2024 +0800

    ci(pre-commit): migrate pre-commit config (#43372)
    
    We update the names of the pre-commit stages. From the 
https://pre-commit.com/#confining-hooks-to-run-at-certain-stages:
    
    new in 3.2.0: The values of stages match the hook names. Previously, 
commit, push, and merge-commit matched pre-commit, pre-push, and 
pre-merge-commit respectively.
---
 .pre-commit-config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1385d405a20..c6a19314521 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 ---
-default_stages: [commit, push]
+default_stages: [pre-commit, pre-push]
 default_language_version:
   python: python3
   node: 22.2.0

Reply via email to