Fix virtual environment details in knot_benchmark (#13228)

This commit is contained in:
Alex Waygood 2024-09-03 14:35:45 +01:00 committed by GitHub
parent c2aac5f826
commit 50c8ee5175
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,8 +133,8 @@ class Pyright(Tool):
def cold_command(self, project: Project, venv: Venv) -> Command:
command = [
str(self.path),
"--venvpath",
"--threads",
"--venvpath",
str(
venv.path.parent
), # This is not the path to the venv folder, but the folder that contains the venv...
@ -201,6 +201,8 @@ class Venv:
"uv",
"pip",
"install",
"--python",
self.python,
"--quiet",
*dependencies,
]