You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/07/12 19:32:07 UTC
(airflow) branch v3-0-test updated: [v3-0-test] Fix mypy cmd (#53246) (#53247)
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] <41...@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 <go...@gmail.com>
---
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,