Add pre-commit style-checking hook