forked from Deltares/hydromt_sfincs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pixi.toml
32 lines (27 loc) · 1.08 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[project]
name = "hydromt_sfincs"
channels = ["conda-forge"]
platforms = ["linux-64", "win-64"]
[tasks]
# dev environment
dev = { depends_on = [
"dev-env-file",
"dev-create-mamba-env",
"dev-install-hydromt",
"dev-install-pre-commit",
] }
dev-env-file = "python make_env.py full -n hydromt-sfincs-dev -o envs/hydromt-sfincs-dev.yml"
min-env-file = "python make_env.py min -n hydromt-sfincs-min -o envs/hydromt-sfincs-min.yml"
dev-create-mamba-env = "mamba env remove -n hydromt-sfincs-dev; mamba env create -f envs/hydromt-sfincs-dev.yml"
dev-install-hydromt = "mamba run -n hydromt-sfincs-dev pip install -e ."
dev-install-pre-commit = "mamba run -n hydromt-sfincs-dev pre-commit install"
# linting
lint = "pre-commit run --all"
# docs
docs = "sphinx-build -M html docs docs/_build"
docs-skip-examples = "export SKIP_DOC_EXAMPLES=1; sphinx-build -M html docs docs/_build"
docs-clean = "python docs/clean.py; sphinx-build -M html docs docs/_build"
docs-serve = "python -m http.server -d docs/_build/html"
# tests
tests = "pytest -v --cov=hydromt_sfincs -cov-report=term-missing"
[dependencies]