Before you can run hooks, you need to have the pre-commit package manager installed.
Using pip:
cd ./sbc-pay
pip install pre-commit
run pre-commit install to set up the git hook scripts
cd ./sbc-pay
pre-commit install
Auto-update the config to the latest repos' versions
cd ./sbc-pay
pre-commit autoupdate