mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
Save conda environment that was active during conda install when using option --hooks-activate-conda. The saved environment will be activated before calling pre-commit hooks. Especially on Windows, more and more actions within a conda environment require the conda environment to be activated. Thus saving just the python executable is not enough any more. There is currently one downside of using the option --hooks-activate-conda. It uses "conda run" which will only show console output after the run is completed. We have a pull request to conda open which introduces an option to show interactive console output in conda run. Once this is approved, it might be ok to make this option the default behaviour. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| empty_template_.npmignore | ||
| empty_template_Cargo.toml | ||
| empty_template_environment.yml | ||
| empty_template_main.go | ||
| empty_template_main.rs | ||
| empty_template_package.json | ||
| empty_template_pre_commit_dummy_package.gemspec | ||
| empty_template_setup.py | ||
| hook-tmpl | ||
| rbenv.tar.gz | ||
| ruby-build.tar.gz | ||
| ruby-download.tar.gz | ||