40 | | Although no means to enforce the default formatting style are proposed, currently used CI services (eg. Travis CI) may be employed as a post-commit safety valve - a clang-format lint failure as a compile break (eg. [https://github.com/mongodb/mongo/blob/master/buildscripts/clang_format.py clang_format.py] build script used by MongoDB). |
| 40 | No automation of code reformatting is proposed. It would be treating the symptomps, no cause: developers not following the code formatting standard. |
| 41 | |
| 42 | Although no means to enforce the default formatting style are proposed, currently used CI services (eg. Travis CI) may be employed as a post-commit safety valve - a clang-format lint failure as a compile break (eg. [https://github.com/mongodb/mongo/blob/master/buildscripts/clang_format.py clang_format.py] build script used by MongoDB). Alternatively, a gatekeeper may be installed in SVN/Git, rejecting commits with code not conforming to the code formatting style. |