From 5c63b73d5962a7fcc0185212ea48c3cc44baa9da Mon Sep 17 00:00:00 2001 From: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Date: Fri, 10 Oct 2025 15:52:58 +0200 Subject: [PATCH] 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 --- .github/workflows/copilot-setup-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 272ac111db..c71e3a74cf 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -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"';