mirror of https://github.com/astral-sh/ruff
Enable multithreading for pyright (#13227)
This commit is contained in:
parent
387af831f9
commit
c2aac5f826
|
|
@ -134,6 +134,7 @@ class Pyright(Tool):
|
||||||
command = [
|
command = [
|
||||||
str(self.path),
|
str(self.path),
|
||||||
"--venvpath",
|
"--venvpath",
|
||||||
|
"--threads",
|
||||||
str(
|
str(
|
||||||
venv.path.parent
|
venv.path.parent
|
||||||
), # This is not the path to the venv folder, but the folder that contains the venv...
|
), # This is not the path to the venv folder, but the folder that contains the venv...
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue