Even though pre-commit can natively do it, for regular CLI invocations I think it is pretty useful for us to have some sort of parallelization through -w/--workers. It can simply use concurrent.futures's process based executors to map the given files into the refactor APIs.
Even though pre-commit can natively do it, for regular CLI invocations I think it is pretty useful for us to have some sort of parallelization through
-w
/--workers
. It can simply useconcurrent.futures
's process based executors to map the given files into the refactor APIs.