mirror of https://github.com/astral-sh/ruff
Rename `--current-directory` to `--project` in Red Knot benchmark script (#15124)
This commit is contained in:
parent
8d327087ef
commit
97965ff114
|
|
@ -71,7 +71,7 @@ class Knot(Tool):
|
||||||
assert len(project.include) < 2, "Knot doesn't support multiple source folders"
|
assert len(project.include) < 2, "Knot doesn't support multiple source folders"
|
||||||
|
|
||||||
if project.include:
|
if project.include:
|
||||||
command.extend(["--current-directory", project.include[0]])
|
command.extend(["--project", project.include[0]])
|
||||||
|
|
||||||
command.extend(["--venv-path", str(venv.path)])
|
command.extend(["--venv-path", str(venv.path)])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue