mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add --threads argument to pyright cli (#12688)
This commit is contained in:
@@ -37,7 +37,7 @@ def main() -> None:
|
||||
# version installed into the virtual environment, due to failures on some
|
||||
# platforms. https://github.com/python/typeshed/issues/11614
|
||||
os.environ["PYRIGHT_PYTHON_FORCE_VERSION"] = pyright_version
|
||||
command = [npx, f"pyright@{pyright_version}"] + sys.argv[1:]
|
||||
command = [npx, f"pyright@{pyright_version}"] + sys.argv[1:] + ["--threads"]
|
||||
print_command(command)
|
||||
|
||||
ret = subprocess.run(command).returncode
|
||||
|
||||
Reference in New Issue
Block a user