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

vatsrahul1001 pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-4-test by this push:
     new e723e682b5d [v3-4-test] Run the flynt prek hook in parallel batches 
(#75274) (#75836)
e723e682b5d is described below

commit e723e682b5d084b65edf2076fb8e30269223008b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 28 13:59:08 2026 +0530

    [v3-4-test] Run the flynt prek hook in parallel batches (#75274) (#75836)
    
    (cherry picked from commit 881f36223045f8e545c2b2ae1f08ed29662beedc)
    
    Signed-off-by: PoAn Yang <[email protected]>
    Co-authored-by: PoAn Yang <[email protected]>
---
 .pre-commit-config.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8b57f475f3f..92e716ce9b3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -824,6 +824,10 @@ repos:
         name: Run flynt string format converter for Python
         env:
           PYTHONPYCACHEPREFIX: .build/pycache
+        # flynt's own hook manifest sets require_serial: true, and this line 
overrides it. flynt
+        # writes only the files that prek passes to it. prek gives each file 
to exactly one batch,
+        # so the batches can run in parallel.
+        require_serial: false
         args:
          # If flynt detects too long text it ignores it. So we set a very 
large limit to make it easy
          # to split the text by hand. Too long lines are detected by flake8 
(below),

Reply via email to