add pre-commit for auto remove trailing whitespace