Add code formatting (CI or pre-commit) #531
Labels
administrative
CI/CD
Related to our CI/CD pipeline
discussion
Issues that more just discussing than specific flaws or features
enhancement
As discussed in #286 we might want to format code automatically. This could complement the linting that happens in our CI builds. Our two options would be adding formatting to the CI (not sure if that works, I know linting does) or using pre-commit. Pre-commit allows for linting and formatting before pushing. This enforces clean code, makes devs think about best practices and improves code review. This would be in addition to, not instead of, the CI checks.
Pre-Commit In Action
Demo Repo
Failed Hook
Sucessful Hook
The text was updated successfully, but these errors were encountered: