提交 ac6c4e04 authored 作者: Ricardo Vieira's avatar Ricardo Vieira

Update pre-commit installation command to include hooks

Pre-commit will not install hooks by default, and Copilot has no network access to install afterwards. Pre-install during setup
上级 16972643
......@@ -46,7 +46,7 @@ jobs:
micromamba install --yes -q -c conda-forge mypy types-setuptools scipy-stubs pandas pre-commit
pip install tfp-nightly
pip install -e ./
pre-commit install
pre-commit install --install-hooks
micromamba list && pip freeze
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"';
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论