From f49c8d4a390cb4e8d31c72dbf5a083a7e84fec21 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Fri, 22 Apr 2022 09:42:31 +0100 Subject: [PATCH 1/2] Use conda-lock --kind=explicit. --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7805bc7..3f00cf2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -60,9 +60,9 @@ linux_task: - uname -r populate_script: - export CONDA_OVERRIDE_LINUX="$(uname -r | cut -d'+' -f1)" - - conda-lock --mamba --platform linux-64 --file ${YAML_FILE} + - conda-lock --kind=explicit --mamba --platform linux-64 --file ${YAML_FILE} - mamba create --name ${ENV_NAME} --quiet --file conda-linux-64.lock - conda info --envs test_script: - source activate ${ENV_NAME} - - python run_test.py + - python run_test.py From 5b9c0c61e9aa559e61f5fd4f2325757a51fd2934 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Fri, 22 Apr 2022 09:45:54 +0100 Subject: [PATCH 2/2] Update pre-commit versions. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8685949..089cde7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v4.1.0' + rev: 'v4.2.0' hooks: # Prevent giant files from being committed. - id: check-added-large-files @@ -17,7 +17,7 @@ repos: # Don't commit to master branch. - id: no-commit-to-branch - repo: https://github.com/psf/black - rev: '22.1.0' + rev: '22.3.0' hooks: - id: black # Force black to run on whole repo, using settings from pyproject.toml