It's convenient to run the lint step faster/sooner than at CI/CD time. Depending on your setup, the separate linter deps handled by pre-commit can be more convenient than hassle both locally and in your CI/CD pipeline (re the makefile script you mention).
Having done it both ways several times I lean pre-commit for now
Having done it both ways several times I lean pre-commit for now