You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support configuring --num-workers with an environment variable #21395
Now that we don't have best number of workers auto-detection, this may help people to e.g. set lower number of mypy workers in their CI jobs. And generally seems like a convenient thing to have. Thanks to @cdce8p for idea.
Activity
KevinRK29 commentedon May 2, 2026
Is it just adding a block here to do
options.num_workers = int(environ_num_workers)ilevkivskyi commentedon May 2, 2026
@KevinRK29 Essentially yes, put it around there (so that it overrides the value from config) + update the
FOOTER+ update the docs.Add support for configuring `--num-workers` with a env variable (#21407)