This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch enable-auto-merge
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/enable-auto-merge by this push:
new 4934d228d28 Set PYTHONPYCACHEPREFIX for the CI passed gate hook
4934d228d28 is described below
commit 4934d228d2879786ea9f09b3afcf04637163fcb1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Oct 24 13:35:16 2026 +0200
Set PYTHONPYCACHEPREFIX for the CI passed gate hook
main now requires every prek hook to write bytecode outside the source tree
(check-prek-hooks-pycache-prefix).
Generated-by: Claude Opus 5
---
.pre-commit-config.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 110ab5541a5..286805daf4a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1170,6 +1170,8 @@ repos:
files: \.py$
- id: check-ci-gate-needs
name: Check the CI passed gate job needs every CI job
+ env:
+ PYTHONPYCACHEPREFIX: .build/pycache
description: Auto-merge waits for "CI passed"; a job missing from its
needs could fail without stopping a merge
entry: ./scripts/ci/prek/check_ci_gate_needs.py
language: python