As a developer I want hooks to enforce code quality checks, formatter execution, and unit tests
Closed this issue · 0 comments
MJJoyce commented
💪 Motivation
...so that we can provide a guaranteed baseline of quality when a new pull request is created.
⚙️ Engineering Details
There's a few approaches that we could take here including just normal git hooks. I've had good luck using pre-commit to manage this. It's pip install-able and makes the handling of these trivial. We could provide a default config file that automatically runs a formatter, linter, and executes unit tests on commit or push.