giturlparse icon indicating copy to clipboard operation
giturlparse copied to clipboard

pre-commit configuration throws error

Open sdavtaker opened this issue 1 year ago • 0 comments

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

Additional information

sdavtaker avatar Dec 13 '24 19:12 sdavtaker