remove extension from pre-commit script