This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 6a7cc6fe34c [v3-1-test] Bump minimum prek version to 0.2.0 (#58952)
(#58977)
6a7cc6fe34c is described below
commit 6a7cc6fe34c6bf67f9f6970ddaab5f319ae522ae
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Dec 2 22:41:27 2025 +0100
[v3-1-test] Bump minimum prek version to 0.2.0 (#58952) (#58977)
Otherwise hooks aren't discovered recursively via workspaces feature
(cherry picked from commit b95fca4dbdf2775919e9c01ad8a56da5a4b46af2)
Co-authored-by: Bartosz Sławecki <[email protected]>
---
.pre-commit-config.yaml | 2 +-
airflow-ctl/.pre-commit-config.yaml | 6 +++++-
chart/.pre-commit-config.yaml | 6 +++++-
go-sdk/.pre-commit-config.yaml | 4 +++-
providers/.pre-commit-config.yaml | 6 +++++-
task-sdk/.pre-commit-config.yaml | 6 +++++-
6 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 422ebfddd55..421ca4c359f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
-minimum_prek_version: '0.0.28'
+minimum_prek_version: '0.2.0'
default_language_version:
python: python3
node: 22.19.0
diff --git a/airflow-ctl/.pre-commit-config.yaml
b/airflow-ctl/.pre-commit-config.yaml
index ed468195ad1..8926b9e7336 100644
--- a/airflow-ctl/.pre-commit-config.yaml
+++ b/airflow-ctl/.pre-commit-config.yaml
@@ -16,7 +16,11 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
-minimum_prek_version: '0.0.28'
+minimum_prek_version: '0.2.0'
+default_language_version:
+ python: python3
+ node: 22.19.0
+ golang: 1.24.0
repos:
- repo: local
hooks:
diff --git a/chart/.pre-commit-config.yaml b/chart/.pre-commit-config.yaml
index e1ee9d95bd0..f5a31a9fdbe 100644
--- a/chart/.pre-commit-config.yaml
+++ b/chart/.pre-commit-config.yaml
@@ -16,7 +16,11 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
-minimum_prek_version: '0.0.28'
+minimum_prek_version: '0.2.0'
+default_language_version:
+ python: python3
+ node: 22.19.0
+ golang: 1.24.0
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
# replace hash with version once PR #103 merged comes in a release
diff --git a/go-sdk/.pre-commit-config.yaml b/go-sdk/.pre-commit-config.yaml
index 4154c080168..989478af031 100644
--- a/go-sdk/.pre-commit-config.yaml
+++ b/go-sdk/.pre-commit-config.yaml
@@ -16,9 +16,11 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
+minimum_prek_version: '0.2.0'
default_language_version:
+ python: python3
+ node: 22.19.0
golang: 1.24.0
-minimum_prek_version: '0.0.28'
repos:
- repo: meta
hooks:
diff --git a/providers/.pre-commit-config.yaml
b/providers/.pre-commit-config.yaml
index cb30c8d7d48..76da0492312 100644
--- a/providers/.pre-commit-config.yaml
+++ b/providers/.pre-commit-config.yaml
@@ -16,7 +16,11 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
-minimum_prek_version: '0.0.28'
+minimum_prek_version: '0.2.0'
+default_language_version:
+ python: python3
+ node: 22.19.0
+ golang: 1.24.0
repos:
- repo: local
hooks:
diff --git a/task-sdk/.pre-commit-config.yaml b/task-sdk/.pre-commit-config.yaml
index cfa45831e9e..6947aa87caa 100644
--- a/task-sdk/.pre-commit-config.yaml
+++ b/task-sdk/.pre-commit-config.yaml
@@ -16,7 +16,11 @@
# under the License.
---
default_stages: [pre-commit, pre-push]
-minimum_prek_version: '0.0.28'
+minimum_prek_version: '0.2.0'
+default_language_version:
+ python: python3
+ node: 22.19.0
+ golang: 1.24.0
repos:
- repo: local
hooks: