This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 2ffb587939 Exclude lock files from TOML license header hook
2ffb587939 is described below
commit 2ffb587939e9dfeb2b2faab7f190ba1f861ab8a2
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Mar 10 02:09:57 2026 +0000
Exclude lock files from TOML license header hook
uv.lock is a TOML file but shouldn't get a license header injected.
---
.pre-commit-config.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e2c2d3663a..cc90f867a6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -90,6 +90,7 @@ repos:
- id: insert-license
name: Add licence for all TOML files
types: [toml]
+ exclude: \.lock$
args:
- --comment-style
- "|#|"