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
Our formatting requirements for PRs are pretty stringent, specifically that we check that black and isort have been run. This leads to having the formatting script on my inner development/debugging loop (i.e. re-running between small changes while debugging a PR), and so I'm feeling the pain of the 30sec+ runtime of the lint and formatting scripts.
Can we trivially use (thread or process) parallelism to speed these up?
The text was updated successfully, but these errors were encountered:
Yeah! Probably pretty straightforward to parallelize.
One trick that helps sometimes is that you can pass file path(s) to the script and it will only run against those files (e.g. if you've only modified a small number of files). For example:
Our formatting requirements for PRs are pretty stringent, specifically that we check that black and isort have been run. This leads to having the formatting script on my inner development/debugging loop (i.e. re-running between small changes while debugging a PR), and so I'm feeling the pain of the 30sec+ runtime of the lint and formatting scripts.
Can we trivially use (thread or process) parallelism to speed these up?
The text was updated successfully, but these errors were encountered: