This program - Python script, that can prevent commit or push code with wrong guidelines. This scripts can be put in .git/hooks
It is supported:
- Checking trailing spaces
- Prevent of using:
- pre C++11:
typedef - exceptions:
try,catch using namespace ...- RTTI:
dynamic_cast,typeid
- pre C++11:
At first, you should choose, when a check is called.
pre-push - called before git push
pre-commit - called before git commit
When you choose variant of gitHook, or you choose both variants, add the repository as submodule and configure hooks:
git submodule add ...
git config core.hooksPath hooksIf something went wrong, you can contact with me on email: