thomasthiebaud / poetry-githooks

Simple git hooks with poetry
MIT License
15 stars 3 forks source link

Setup fails due to wrong BASE DIR? #3

Closed rotu closed 4 years ago

rotu commented 4 years ago

poetry run githooks setup is failing for me with the message "This is not a Git repository. Run 'git init' first". I think this is because argv is the location of the githooks script:

poetry run which githooks
/home/dan/.cache/pypoetry/virtualenvs/openrover-z58FEN12-py3.8/bin/githooks

This is on Ubuntu 20 with CPython 3.8.2