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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: [email protected]
