From 21e15eb4c5c1c32ff8929eddf4c6f0d0804d9f61 Mon Sep 17 00:00:00 2001 From: Hind Montassif Date: Tue, 13 Aug 2024 14:57:58 +0200 Subject: [PATCH] Add pre-commit in env yaml file and fix typo --- .github/workflows/unix.yml | 2 +- mamba/environment-dev.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unix.yml b/.github/workflows/unix.yml index 72da62595b..3331356070 100644 --- a/.github/workflows/unix.yml +++ b/.github/workflows/unix.yml @@ -112,7 +112,7 @@ jobs: shell: bash -l {0} run: | pybind11-stubgen libmambapy.bindings - pre-commit run --files stubs/libmambapy/binginds-stubs/__init__.pyi + pre-commit run --files stubs/libmambapy/bindings-stubs/__init__.pyi python compare_stubs.py libmambapy/libmambapy/__init__.pyi stubs/libmambapy/bindings-stubs/__init__.pyi - name: Show build cache statistics run: sccache --show-stats diff --git a/mamba/environment-dev.yml b/mamba/environment-dev.yml index 220a8f0859..7fe0120e4e 100644 --- a/mamba/environment-dev.yml +++ b/mamba/environment-dev.yml @@ -28,6 +28,7 @@ dependencies: - conda >=24.1.0 - conda-content-trust - cryptography<40.0 # Or breaks conda-content-trust + - pre-commit - pip: - securesystemslib - sel(win): winreg