Skip to content

Commit 9085b69

Browse files
authored
with conda, use sys.executable to find python with ty (#1354)
1 parent c7ac2c4 commit 9085b69

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/test/run.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,13 @@ def released_mypy():
154154

155155

156156
def ty():
157-
cmd = ["ty", "check", "pandas-stubs"]
157+
cmd = [
158+
"ty",
159+
"check",
160+
"pandas-stubs",
161+
"--python",
162+
sys.executable,
163+
]
158164
subprocess.run(cmd, check=True)
159165

160166

0 commit comments

Comments
 (0)