Does running tools via goals participate in concur...
# general
b
Does running tools via goals participate in concurrency in a single tool? E.g. When running
yapf
through
fmt
, does it take advantage of all my cores (the output shows one line about running
yapf
on 1k files and 63 more spinny doodads. Similarly for
pylint
)
w
yapf
will take advantage of your cores if it is capable of doing that: we configure the concurrency of tools that we know have concurrency flags, but many have reasonable defaults
🙌 1
b
I see, concurrency is being handled by the tool, and not
pants
w
in this case, yes: there is a mode for
lint
that will toggle “lint per file”, and in that case you would get ~1k
yapf
processes. we really ought to have an in-between toggle that would lint in batches.
but yea: it should likely be adjusted to batch.
b
If performance is equivalent, it'd be nicer UI/UX IMO to batch
👍 1