Skip to content

Commit 67e4ee2

Browse files
authored
Rename to depends-on in pixi.toml (#1371)
Will soon be deprecated. See Deltares/Ribasim#1993
1 parent c862687 commit 67e4ee2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pixi.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ repository = "https://github.com/Deltares/imod-python.git"
1414

1515
[tasks]
1616
# General tasks
17-
docs = { cmd = "make html", depends_on = ["install"], cwd = "docs" }
17+
docs = { cmd = "make html", depends-on = ["install"], cwd = "docs" }
1818
install = "python -m pip install --no-deps --editable ."
1919
pypi-publish = { cmd = "rm --recursive --force dist && python -m build && twine check dist/* && twine upload dist/*" }
2020

2121
# Lint and format tasks
2222
format = "ruff check --fix .; ruff format ."
2323
lint = "ruff check . ; ruff format --check ."
24-
mypy_lint = { cmd ="mypy", depends_on = ["install"]}
25-
mypy_report = { cmd ="mypy | mypy2junit > mypy-report.xml", depends_on = ["install"]}
24+
mypy_lint = { cmd ="mypy", depends-on = ["install"]}
25+
mypy_report = { cmd ="mypy | mypy2junit > mypy-report.xml", depends-on = ["install"]}
2626

2727
# Tests tasks
28-
tests = { depends_on = ["unittests", "examples"] }
29-
unittests = { depends_on = ["unittests_njit", "unittests_jit"] }
28+
tests = { depends-on = ["unittests", "examples"] }
29+
unittests = { depends-on = ["unittests_njit", "unittests_jit"] }
3030
unittests_njit = { cmd = [
3131
"NUMBA_DISABLE_JIT=1",
3232
"pytest",
@@ -39,15 +39,15 @@ unittests_njit = { cmd = [
3939
"--cov-report=term",
4040
"--cov-report=html:coverage",
4141
"--cov-config=.coveragerc"
42-
], depends_on = ["install"], cwd = "imod/tests" }
42+
], depends-on = ["install"], cwd = "imod/tests" }
4343
unittests_jit = { cmd = [
4444
"pytest",
4545
"-n", "auto",
4646
"-m", "unittest_jit",
4747
"--cache-clear",
4848
"--verbose",
4949
"--junitxml=unittest_jit_report.xml",
50-
], depends_on = ["install"], cwd = "imod/tests" }
50+
], depends-on = ["install"], cwd = "imod/tests" }
5151
# User acceptance tests, only works when paths to models are located on local
5252
# drive and are specified in a .env file.
5353
user_acceptance = { cmd = [
@@ -56,7 +56,7 @@ user_acceptance = { cmd = [
5656
"--cache-clear",
5757
"--verbose",
5858
"--junitxml=user_acceptance_report.xml",
59-
], depends_on = ["install"], cwd = "imod/tests", env = { IMOD_DATA_DIR = ".imod_data" } }
59+
], depends-on = ["install"], cwd = "imod/tests", env = { IMOD_DATA_DIR = ".imod_data" } }
6060

6161
examples = { cmd = [
6262
"pytest",
@@ -65,7 +65,7 @@ examples = { cmd = [
6565
"--cache-clear",
6666
"--verbose",
6767
"--junitxml=examples_report.xml",
68-
], depends_on = ["install"], cwd = "imod/tests", env = { IMOD_DATA_DIR = ".imod_data" } }
68+
], depends-on = ["install"], cwd = "imod/tests", env = { IMOD_DATA_DIR = ".imod_data" } }
6969

7070
[dependencies]
7171
affine = "*"
@@ -161,7 +161,7 @@ test_import = { cmd = [
161161
"python",
162162
"-c",
163163
"import imod"
164-
], depends_on = ["install_with_deps"]}
164+
], depends-on = ["install_with_deps"]}
165165
install_with_deps = "python -m pip install --editable ."
166166

167167
[environments]

0 commit comments

Comments
 (0)