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

Lee-W 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 ddef168d1fe Give each mypy prek hook its own file list in CI (#70654)
ddef168d1fe is described below

commit ddef168d1fef342e53cc6200e5b1d40214f1b1df
Author: PoAn Yang <[email protected]>
AuthorDate: Thu Aug 6 20:31:56 2026 +0900

    Give each mypy prek hook its own file list in CI (#70654)
    
    Signed-off-by: PoAn Yang <[email protected]>
---
 scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py 
b/scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py
index 66b8db86f6e..3bcd31c6886 100755
--- a/scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py
+++ b/scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py
@@ -303,8 +303,8 @@ if CI:
         print("No files to test. Quitting")
         sys.exit(0)
 
-    write_file_list(all_files_to_check)
-    file_argument_ci = "@/files/mypy_files.txt"
+    mypy_file_list = write_file_list(all_files_to_check, 
suffix=mypy_folders[0].replace("/", "-"))
+    file_argument_ci = f"@/files/{mypy_file_list.name}"
 
     mypy_cmd = (
         f"TERM=ansi mypy --follow-imports=silent 
{shlex.quote(file_argument_ci)} {' '.join(mypy_extra_args)}"

Reply via email to