feat(pre-commit): move to v4 of pre-commit
Pre-commit version 4 has landed. Move to that version and also allow explicit version selection via various PRE_COMMIT_IMAGE_... variables.
Pre-commit version 4 has landed. Move to that version and also allow explicit version selection via various PRE_COMMIT_IMAGE_... variables.