update lint tests for a pre-commit hook