Skip to content

Commit ac6c4e0

Browse files
committed
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
1 parent 1697264 commit ac6c4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
micromamba install --yes -q -c conda-forge mypy types-setuptools scipy-stubs pandas pre-commit
4747
pip install tfp-nightly
4848
pip install -e ./
49-
pre-commit install
49+
pre-commit install --install-hooks
5050
micromamba list && pip freeze
5151
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
5252
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"';

0 commit comments

Comments
 (0)