mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
Fix virtual environment details in knot_benchmark
(#13228)
This commit is contained in:
parent
c2aac5f826
commit
50c8ee5175
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue