On 6/5/22 09:09, Stefan van der Walt wrote:
Hi Matti,

On Thu, May 5, 2022, at 22:08, Matti Picus wrote:
This somehow runs when I do "git commit"? Do I need to add anything to
my git environment to pick up the hook? How do I turn it off if I find
it prevents progress or breaks? Do we need to add anything to the
documentation to warn developers about possible complications or errors?
The hook is optional, and is set up  by running pre-commit (which itself is a 
pip-installable python package):

...

Stéfan


I work under various virtualenvs and conda environments. So if I run "git commit" when the proper virtualenv is not activated, the pre-commit hook cannot run.

Will I get a notice that the hook has not run?

Matti

_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to