This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-3-test by this push:
new 8b58b37a148 [v3-3-test] Give each mypy prek hook its own file list in
CI (#70654) (#71236)
8b58b37a148 is described below
commit 8b58b37a14849b8c9c9514f2b4ef7e4873dc3b33
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Aug 7 12:13:30 2026 +0800
[v3-3-test] Give each mypy prek hook its own file list in CI (#70654)
(#71236)
(cherry picked from commit ddef168d1fef342e53cc6200e5b1d40214f1b1df)
Signed-off-by: PoAn Yang <[email protected]>
Co-authored-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)}"