From 918ba98f2df38c0788a04869a10d284239ead166 Mon Sep 17 00:00:00 2001 From: Alec Edgington <54802828+cqc-alec@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:31:03 +0100 Subject: [PATCH] Update .pre-commit-config.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Agustín Borgna <121866228+aborgna-q@users.noreply.github.com> --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37c19b43a..78b9baff7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -85,6 +85,9 @@ repos: - id: py-test name: pytest description: Run python tests + # We need to rebuild `hugr-cli` without the `extension_inference` feature + # to avoid test errors. + # TODO: Remove this once the issue is fixed. entry: sh -c "cargo build -p hugr-cli && poetry install && poetry run pytest" language: system files: \.py$