<#22779 pants check with Pyright fails with exit c...
# github-notifications
q
#22779 pants check with Pyright fails with exit code 249 Issue created by mariap-pf Describe the bug When running
pants check
on a large number of Python targets, Pyright crashes right away with exit code 249. Example of output:
Copy code
pants check ::
.
.
.
14:30:18.70 [INFO] Completed: Scheduling: Run Pyright on 1786 files.
14:30:18.70 [ERROR] Completed: Typecheck using Pyright - pyright - pyright failed (exit code 249).

āœ• pyright failed.
Pants version 2.29.0 pyright version: 1.1.365 OS Ubuntu 22.04 Additional info This is blocking in CI where we use
--changed-since
to run checks only on affected targets, which prevents us from splitting the targets through other mechanisms (e.g. glob arguments). pantsbuild/pants