Skip to content

pre-commit configuration throws error #112

@sdavtaker

Description

@sdavtaker

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 : b647270

Expected behaviour

precommit succeeds

Actual behaviour

error thrown

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions