Revert "update hooks to compile on commit"

Reverts Cal-CS-61A-Staff/ok#155