add anything to "enforce" style on files before merge
Tab indent has been messed up in several places and it used to induce seizures on reading/review code for me.
One option was to use some git post-commit hook to a another commits (hg days!).
Another one is to add some rule that must be checked before pushing or even merging.
First one used to annoy others with mercurial. second is a task of developers. Maybe they can setup this locally if needed.
Here is something to start with: https://github.com/qgis/QGIS/blob/master/scripts/prepare-commit.sh
otb can remove most of them and maybe in MR ask devs to check/uncheck something
- [ ] I have run [the `scripts/prepare-commit.sh` script]
They use to include spell check too. we can remove those or let spell check be done by individual developers. After all, those who write them in first place can decided if it's a typo or not.