Description
Our current setup uses pre-commit hooks to enforce code quality checks before each commit. While this helps maintain consistency, it can slow down development.
To balance consistency and efficiency, we can:
By combining pre-push hooks and a Makefile, we ensure that checks happen at the right time—automatically before pushing, with an option for developers to run them manually when needed.
Description
Our current setup uses pre-commit hooks to enforce code quality checks before each commit. While this helps maintain consistency, it can slow down development.
To balance consistency and efficiency, we can:
Switch to Pre-Push Hooks
Provide a Makefile for Manual Pre-Commit Checks
make pre-commitperiodically to format and clean up code in bulk.By combining pre-push hooks and a Makefile, we ensure that checks happen at the right time—automatically before pushing, with an option for developers to run them manually when needed.