fix pre-commit lint hook