add pre-commit hook
Merge pull request #53 from particle128/develop

add pre-commit hook