Having to wait for your CI to tell you that you've done something wrong takes a lot longer than a pre-commit/pre-push hook.
I agree that running expensive operation on commit doesn't make a lot of sense (temp commits and whatnot), but it's nice to bail out quickly before pushing.
I agree that running expensive operation on commit doesn't make a lot of sense (temp commits and whatnot), but it's nice to bail out quickly before pushing.