I'm trying to setup pre-commit
for a Python project's repository. Upon running pre-commit install
I see an output like this:
[INFO] Installing environment for https://github.com/asottile/seed-isort-config.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-pylint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
What are these "environments" and where are they being installed to?
pre-commit install --install-hooks
orpre-commit install-hooks
orpre-commit run
, aspre-commit install
by itself does not install environments – Apophyllitepre-commit install
to get that output, as I can see it in my Bash history. – Pout