0

I want to install pre-commit to a Linux machine that doesnt have access to the Internet so hooks cant be downloaded. I made a copy of .pre-commit-config.yaml on another machine then did pre-commit all hooks were installed. But where all of them are stored? How can I copy them?

Thanks

anthony sottile
  • 61,815
  • 15
  • 148
  • 207
GhostKU
  • 1,898
  • 6
  • 23
  • 32
  • 2
    Does this answer your question? [Where does pre-commit install "environments"?](https://stackoverflow.com/questions/62539288/where-does-pre-commit-install-environments) – anthony sottile Nov 20 '22 at 13:57
  • generally hooks aren't portable between machines -- but I've linked a duplicate with the answer – anthony sottile Nov 20 '22 at 13:57

0 Answers0