From 748cd77ea3cbd0adae1a739de0272bb524127c56 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Mon, 6 Jan 2025 21:07:18 +0100 Subject: [PATCH] Rename to depends-on in pixi.toml See https://github.com/Deltares/Ribasim/pull/1993 --- pixi.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pixi.toml b/pixi.toml index 667c12e..12c952d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -13,18 +13,18 @@ license-file = "LICENSE" install = "pre-commit install" # Docs quartodoc-build = { cmd = "quartodoc build && rm objects.json", cwd = "docs" } -quarto-preview = { cmd = "export QUARTO_PYTHON=python && quarto preview docs", depends_on = [ +quarto-preview = { cmd = "export QUARTO_PYTHON=python && quarto preview docs", depends-on = [ "quartodoc-build", ] } -quarto-check = { cmd = "quarto check all", depends_on = ["quartodoc-build"] } -quarto-render = { cmd = "export QUARTO_PYTHON=python && quarto render docs --to html --execute", depends_on = [ +quarto-check = { cmd = "quarto check all", depends-on = ["quartodoc-build"] } +quarto-render = { cmd = "export QUARTO_PYTHON=python && quarto render docs --to html --execute", depends-on = [ "quartodoc-build", ] } -docs = { depends_on = ["build-julia-docs", "quarto-preview"] } +docs = { depends-on = ["build-julia-docs", "quarto-preview"] } # Lint mypy-hydamo = "mypy --ignore-missing-imports src/hydamo" pre-commit = "pre-commit run --all-files" -lint = { depends_on = ["pre-commit", "mypy-hydamo"] } +lint = { depends-on = ["pre-commit", "mypy-hydamo"] } # Test test-hydamo = "pytest --numprocesses=auto --basetemp=src/hydamo/tests/temp src/hydamo/tests" test-ribasim_nl = "pytest --numprocesses=auto --basetemp=src/ribasim_nl/tests/temp src/ribasim_nl/tests" @@ -32,7 +32,7 @@ test-peilbeheerst_model = "pytest --numprocesses=auto --basetemp=src/peilbeheers test-hydamo-cov = "pytest --numprocesses=auto --cov=hydamo --cov-report=xml --cov-report=term-missing src/hydamo/tests" test-ribasim_nl-cov = "pytest --numprocesses=auto --cov=ribasim_nl --cov-report=xml --cov-report=term-missing src/ribasim_nl/tests" test-peilbeheerst_model-cov = "pytest --numprocesses=auto --cov=peilbeheerst_model --cov-report=xml --cov-report=term-missing src/peilbeheerst_model/tests" -tests = { depends_on = ["lint", "test-hydamo", "test-ribasim_nl"] } +tests = { depends-on = ["lint", "test-hydamo", "test-ribasim_nl"] } [feature.common.dependencies] bokeh = ">=3.0"