Fixup some pyright CI configuration details (#12690)

This commit is contained in:
Alex Waygood
2024-09-23 13:07:57 -07:00
committed by GitHub
parent bfaa3d2d5a
commit 9f033bf439
4 changed files with 1 additions and 6 deletions

View File

@@ -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:] + ["--threads"]
command = [npx, f"pyright@{pyright_version}"] + sys.argv[1:]
print_command(command)
ret = subprocess.run(command).returncode