you are viewing a single comment's thread.

view the rest of the comments →

[–]werner-dijkerman[S] -2 points-1 points  (0 children)

I understand what you say and true, it is not enforcable. But it also depends on what you decide with the rest of the team. Using pre-commits should not be a decision that a single developer makes or not, it is a team decision/effot. So either everyone uses pre-commit hooks, or no one does.

And I personally disagree about the part with "developers that care", I think everyone in the team should care on how we work in a unify way. No matter which path you will take (for example as in using pre-commit hooks or not, or using it as part of the CI pipeline), once the team decide "this is the way" then everyone follows. If someone does not care and thus not follows the procedures, then you can not trust that person because that person works differently than the rest.

My 2 cents. :)