diff --git a/scripts/test/run.py b/scripts/test/run.py index 359fac5b1..7a93ae435 100644 --- a/scripts/test/run.py +++ b/scripts/test/run.py @@ -154,7 +154,13 @@ def released_mypy(): def ty(): - cmd = ["ty", "check", "pandas-stubs"] + cmd = [ + "ty", + "check", + "pandas-stubs", + "--python", + sys.executable, + ] subprocess.run(cmd, check=True)