pre-commit hooks stopped running after I switched from pip to pipx
pre-commit 3.5. I used to have it installed with pip in my venv and pre-commit install set up the git hook. Then I switched to pipx for global tools. Now commits don't run hooks — the .git/hooks/pre-commit file exists but nothing happens. What did I break? I assume the hook script points at something that no longer exists but I don't know where to look. I already checked that core.hooksPath isn't set to something nonstandard, so I think it's the interpreter path baked into the script.
4 replies