This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 9826d5abbfd [v3-0-test] Fix mypy cmd (#53246) (#53247)
9826d5abbfd is described below
commit 9826d5abbfd03321e42f874e6741590b336aeee1
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jul 12 21:32:00 2025 +0200
[v3-0-test] Fix mypy cmd (#53246) (#53247)
(cherry picked from commit 555ca215ae5c07dd1430da52083c4a3abb1370cc)
Co-authored-by: GPK <[email protected]>
---
scripts/ci/pre_commit/mypy_folder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/ci/pre_commit/mypy_folder.py
b/scripts/ci/pre_commit/mypy_folder.py
index 87704282fc4..a205fb49923 100755
--- a/scripts/ci/pre_commit/mypy_folder.py
+++ b/scripts/ci/pre_commit/mypy_folder.py
@@ -136,7 +136,7 @@ if show_unused_warnings == "true":
else:
mypy_cmd = f"TERM=ansi mypy {shlex.quote(FILE_ARGUMENT)}"
-cmd = ["bash", "-c", f"TERM=ansi mypy {shlex.quote(FILE_ARGUMENT)}"]
+cmd = ["bash", "-c", mypy_cmd]
res = run_command_via_breeze_shell(
cmd=cmd,