This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 2d55d8a6357 Switch to upstream `Lucas-C/pre-commit-hooks` (#51440)
2d55d8a6357 is described below
commit 2d55d8a63571ac309248b70a96562dc62d1e4208
Author: Amogh Desai <[email protected]>
AuthorDate: Fri Jun 6 17:00:25 2025 +0530
Switch to upstream `Lucas-C/pre-commit-hooks` (#51440)
---
.pre-commit-config.yaml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1f898b134eb..e1ba9c4ab07 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -49,7 +49,8 @@ repos:
- "--maxlevel"
- "2"
- repo: https://github.com/Lucas-C/pre-commit-hooks
- rev: v1.5.5
+ # replace hash with version once PR #103 merged comes in a release
+ rev: fd3fbe825390abc682953165e9aa58f5f1bf7339
hooks:
- id: insert-license
name: Add license for all SQL files
@@ -171,10 +172,6 @@ repos:
- --fuzzy-match-generates-todo
files: >
\.cfg$|\.conf$|\.ini$|\.ldif$|\.properties$|\.service$|\.tf$|Dockerfile.*$
- # https://github.com/Lucas-C/pre-commit-hooks/pull/103
- - repo: https://github.com/ashb/pre-commit-hooks
- rev: 36ddb15cd7a607003b06bf11c28045c91ea97dc0
- hooks:
- id: insert-license
name: Add license for all Go files
types: [go]