commercetest / nlnet

Analysis of the opensource codebases of NLnet sponsored projects.
MIT License
0 stars 0 forks source link

Code Quality: add pre-commit hooks to this repo #29

Closed julianharty closed 4 months ago

julianharty commented 5 months ago

Context

Software testing is one way the suitability and qualities of code can be assessed. Additional and complementary approaches also help. Pre-commit hooks are a straight-forward way to get started.

Let's start with a fairly basic set of checks and iterate until we find and obtain a healthy balance.

Further reading

This was inspired by reading: https://medium.com/towards-data-science/custom-pre-commit-hooks-for-safer-code-changes-d8b8aa1b2ebb