add linting pre-commit hook
Merge pull request #27 from Trott/precommit-hook

add linting pre-commit hook