less strict pre-commit hook