giturlparse
giturlparse copied to clipboard
pre-commit configuration throws error
Description
I'm trying to follow contribution guidelines, and when running pre-commit (never used it before) it throws an error:
pre-commit install
[ERROR] Cowardly refusing to install hooks with `core.hooksPath` set.
hint: `git config --unset-all core.hooksPath`
Steps to reproduce
Starting in fresh cloned repo
python3 -m venv venv
source venv/bin/activate
pip install pre-commit
pre-commit install
Versions
Python 3.13.1 giturlparse master/ latest commit : b64727023
Expected behaviour
precommit succeeds
Actual behaviour
error thrown