Hi, By running `pre-commit install` you are registering the hook directly into the .git folder of the project. So no matter if you have an env activated or not it works. Behind the scene, pre-commit uses it's own virtual env to run the hooks. This is why typically it's just used for static analysis.
Cheers, Pamphile _______________________________________________ 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