diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3dafb0b4..20452a64 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,3 +95,13 @@ make check-types Happy hacking! +## Automation + +### Pre-commit hook settings + +It is possible to run formatters and linters automatically for all commits. You just need +to copy file `hooks/pre-commit` into subdirectory `.git/hooks/`. It must be done manually +because the copied file is an executable script (so from GIT point of view it is unsafe +to enable it automatically). + +