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
Plenty of PRs have failed jobs due to code formatting and flake8 errors, which suggests that some time is being wasted by devs having to run these tools manually.
We could use the pre-commit python package as a developer dependency, and add a .pre-commit-config.yaml file together with some instructions in the contributor guide to install.
This would mean yapf is run locally automatically on relevant files before each commit is made, so devs can spend their time on more important things.
The text was updated successfully, but these errors were encountered:
Plenty of PRs have failed jobs due to code formatting and flake8 errors, which suggests that some time is being wasted by devs having to run these tools manually.
We could use the
pre-commit
python package as a developer dependency, and add a.pre-commit-config.yaml
file together with some instructions in the contributor guide to install.This would mean yapf is run locally automatically on relevant files before each commit is made, so devs can spend their time on more important things.
The text was updated successfully, but these errors were encountered: