@@ -14,19 +14,19 @@ repository = "https://github.com/Deltares/imod-python.git"
14
14
15
15
[tasks ]
16
16
# General tasks
17
- docs = { cmd = " make html" , depends_on = [" install" ], cwd = " docs" }
17
+ docs = { cmd = " make html" , depends-on = [" install" ], cwd = " docs" }
18
18
install = " python -m pip install --no-deps --editable ."
19
19
pypi-publish = { cmd = " rm --recursive --force dist && python -m build && twine check dist/* && twine upload dist/*" }
20
20
21
21
# Lint and format tasks
22
22
format = " ruff check --fix .; ruff format ."
23
23
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" ]}
26
26
27
27
# 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" ] }
30
30
unittests_njit = { cmd = [
31
31
" NUMBA_DISABLE_JIT=1" ,
32
32
" pytest" ,
@@ -39,15 +39,15 @@ unittests_njit = { cmd = [
39
39
" --cov-report=term" ,
40
40
" --cov-report=html:coverage" ,
41
41
" --cov-config=.coveragerc"
42
- ], depends_on = [" install" ], cwd = " imod/tests" }
42
+ ], depends-on = [" install" ], cwd = " imod/tests" }
43
43
unittests_jit = { cmd = [
44
44
" pytest" ,
45
45
" -n" , " auto" ,
46
46
" -m" , " unittest_jit" ,
47
47
" --cache-clear" ,
48
48
" --verbose" ,
49
49
" --junitxml=unittest_jit_report.xml" ,
50
- ], depends_on = [" install" ], cwd = " imod/tests" }
50
+ ], depends-on = [" install" ], cwd = " imod/tests" }
51
51
# User acceptance tests, only works when paths to models are located on local
52
52
# drive and are specified in a .env file.
53
53
user_acceptance = { cmd = [
@@ -56,7 +56,7 @@ user_acceptance = { cmd = [
56
56
" --cache-clear" ,
57
57
" --verbose" ,
58
58
" --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" } }
60
60
61
61
examples = { cmd = [
62
62
" pytest" ,
@@ -65,7 +65,7 @@ examples = { cmd = [
65
65
" --cache-clear" ,
66
66
" --verbose" ,
67
67
" --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" } }
69
69
70
70
[dependencies ]
71
71
affine = " *"
@@ -161,7 +161,7 @@ test_import = { cmd = [
161
161
" python" ,
162
162
" -c" ,
163
163
" import imod"
164
- ], depends_on = [" install_with_deps" ]}
164
+ ], depends-on = [" install_with_deps" ]}
165
165
install_with_deps = " python -m pip install --editable ."
166
166
167
167
[environments ]
0 commit comments