pylint under pre-commit
add pre-commit pylint; factor out lint.sh