Skip to content

Commit

Permalink
Rename to depends-on in pixi.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Jan 6, 2025
1 parent 8769b49 commit 748cd77
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ 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"
test-peilbeheerst_model = "pytest --numprocesses=auto --basetemp=src/peilbeheerst_model/tests/temp src/peilbeheerst_model/tests"
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"
Expand Down

0 comments on commit 748cd77

Please sign in to comment.