Extracted pre-commit hook into separate project