Skip to content

Commit da5a32b

Browse files
committed
update template and run GH tests
1 parent fd5615a commit da5a32b

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
3-
"commit": "9627920059b31038e1bb8a978921806cb835fde7",
3+
"commit": "8a346c4ecd7ada4447ab9c224fe3a8b17a79f540",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ version.py
44
# Sphinx automatic generation of API
55
docs/_api/
66

7+
# Combined environments
8+
ci/combined-environment-*.yml
9+
710
# Created by https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks,vim,visualstudiocode,pycharm,emacs,linux,macos,windows
811
# Edit at https://www.toptal.com/developers/gitignore?templates=python,jupyternotebooks,vim,visualstudiocode,pycharm,emacs,linux,macos,windows
912

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: debug-statements
1212
- id: mixed-line-ending
1313
- repo: https://github.com/psf/black
14-
rev: 23.3.0
14+
rev: 23.7.0
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/keewis/blackdoc
@@ -20,7 +20,7 @@ repos:
2020
- id: blackdoc
2121
additional_dependencies: [black==22.3.0]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.0.277
23+
rev: v0.0.278
2424
hooks:
2525
- id: ruff
2626
args: [--fix, --show-fixes]
@@ -29,7 +29,7 @@ repos:
2929
hooks:
3030
- id: mdformat
3131
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
32-
rev: v2.9.0
32+
rev: v2.10.0
3333
hooks:
3434
- id: pretty-format-yaml
3535
args: [--autofix, --preserve-quotes]

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ type-check:
1515
python -m mypy .
1616

1717
conda-env-update:
18-
$(CONDA) env update $(CONDAFLAGS) -f ci/environment-ci.yml
19-
$(CONDA) env update $(CONDAFLAGS) -f environment.yml
18+
$(CONDA) install -y -c conda-forge conda-merge
19+
$(CONDA) run conda-merge environment.yml ci/environment-ci.yml > ci/combined-environment-ci.yml
20+
$(CONDA) env update $(CONDAFLAGS) -f ci/combined-environment-ci.yml
2021

2122
docker-build:
2223
docker build -t $(PROJECT) .

ci/environment-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ dependencies:
1818
- pip:
1919
- sqlalchemy[mypy]
2020
- git+https://github.com/ecmwf-projects/cacholote.git
21+
- git+https://github.com/ecmwf-projects/cads-adaptors.git
22+
- git+https://github.com/ecmwf-projects/cads-broker.git
23+
- git+https://github.com/ecmwf-projects/cads-catalogue.git
24+
- git+https://github.com/ecmwf-projects/cads-common.git
2125
- git+https://github.com/ecmwf-projects/ogc-api-processes-fastapi.git

0 commit comments

Comments
 (0)