From bc88b845a5940a6f63a2e847f5359a224893d8b0 Mon Sep 17 00:00:00 2001 From: Wentao Wu Date: Tue, 25 Jun 2024 10:56:30 +0800 Subject: [PATCH] fix: update python to python3 in myph.sh --- scripts/mypy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mypy.sh b/scripts/mypy.sh index eb31b30b..12304af3 100755 --- a/scripts/mypy.sh +++ b/scripts/mypy.sh @@ -4,7 +4,7 @@ set -e cd "$(dirname "$0")/.." -pyver=$(python -c 'import platform; major, minor, path = platform.python_version_tuple(); print(f"{major}.{minor}")') +pyver=$(python3 -c 'import platform; major, minor, path = platform.python_version_tuple(); print(f"{major}.{minor}")') mypy --config-file mypy-$pyver.ini .