@@ -212,7 +212,7 @@ hypothesis = "*"
212212coveralls = " *"
213213
214214[feature .test .tasks ]
215- test = { cmd = " pytest" }
215+ test = { cmd = " pytest" , description = " Run the test suite with pytest. " }
216216
217217[feature .doc .dependencies ]
218218kerchunk = " *"
@@ -241,8 +241,8 @@ sphinxext-rediraffe = "*"
241241cfgrib = " *"
242242
243243[feature .doc .tasks ]
244- doc = { cmd = " make html" , cwd = " doc" }
245- doc-clean = { cmd = " make clean && make html" , cwd = " doc" }
244+ doc = { cmd = " make html" , cwd = " doc" , description = " Build the HTML documentation. " }
245+ doc-clean = { cmd = " make clean && make html" , cwd = " doc" , description = " Clean build artifacts and rebuild the HTML documentation from scratch. " }
246246linkcheck = { cmd = " make linkcheck" , cwd = " doc" , description = " Check URLs in documentation." }
247247
248248
@@ -270,20 +270,20 @@ types-defusedxml = "*"
270270types-pexpect = " *"
271271
272272[feature .typing .tasks ]
273- mypy = " mypy --install-types --non-interactive --cobertura-xml-report mypy_report"
273+ mypy = { cmd = " mypy --install-types --non-interactive --cobertura-xml-report mypy_report" , description = " Run mypy type checking and generate a Cobertura XML report. " }
274274
275275[feature .pre-commit .dependencies ]
276276pre-commit = " *"
277277
278278[feature .pre-commit .tasks ]
279- pre-commit = { cmd = " pre-commit" }
279+ pre-commit = { cmd = " pre-commit" , description = " Run pre-commit hooks and linters. " }
280280
281281[feature .release .dependencies ]
282282gitpython = " *"
283283cytoolz = " *"
284284
285285[feature .release .tasks ]
286- release-contributors = " python ci/release_contributors.py"
286+ release-contributors = { cmd = " python ci/release_contributors.py" , description = " Generate a list of contributors for a release. " }
287287
288288[feature .dev .dependencies ]
289289ipython = " >=9.8.0,<10"
@@ -298,35 +298,38 @@ xarray-minimum-dependency-policy = "*"
298298[feature .policy .dependencies ]
299299python = " 3.13.*"
300300
301- [feature .policy .tasks .check -policy ]
301+ [feature .policy .tasks ._check -policy ]
302302cmd = " minimum-versions validate --policy ci/policy.yaml --manifest-path pixi.toml {{ env }}"
303303args = [" env" ]
304304
305305[feature .policy .tasks ]
306306policy-bare-minimum = [
307- { task = " check -policy" , args = [
307+ { task = " _check -policy" , args = [
308308 " pixi:test-py311-bare-minimum" ,
309309 ] },
310310]
311311policy-bare-min-and-scipy = [
312- { task = " check -policy" , args = [
312+ { task = " _check -policy" , args = [
313313 " pixi:test-py311-bare-min-and-scipy" ,
314314 ] },
315315]
316316policy-min-versions = [
317- { task = " check -policy" , args = [
317+ { task = " _check -policy" , args = [
318318 " pixi:test-py311-min-versions" ,
319319 ] },
320320]
321- policy = [
322- { task = " check-policy" , args = [
321+ [feature .policy .tasks .policy ]
322+
323+ depends-on = [
324+ { task = " _check-policy" , args = [
323325 """ \
324326 pixi:test-py311-bare-minimum \
325327 pixi:test-py311-bare-min-and-scipy \
326328 pixi:test-py311-min-versions \
327329 """ ,
328330 ] },
329331]
332+ description = " Check all minimum version test environments match Xarray's version policy."
330333
331334[environments ]
332335# Testing
0 commit comments