@@ -226,6 +226,7 @@ pytest \
226226 --cov-report=html \
227227 --cov-report=xml \
228228 --numprocesses=auto \
229+ -m 'slow or not slow' \
229230 ${paths}
230231"""
231232executor = {group = " test" }
@@ -306,7 +307,7 @@ sequence = ["doclive"]
306307args = [{name = " paths" , default = " " , positional = true }]
307308cmd = " jupyter lab ${paths}"
308309executor = {group = " jupyter" }
309- help = " Run Jupyter Lab"
310+ help = " Launch Jupyter Lab"
310311
311312[tool .poe .tasks .linkcheck ]
312313cmd = """
@@ -322,23 +323,18 @@ executor = {group = "doc"}
322323help = " Check external links in the documentation (requires internet connection)"
323324
324325[tool .poe .tasks .nb ]
326+ args = [{name = " paths" , default = " docs" , multiple = true , positional = true }]
325327cmd = " pytest --nbmake --nbmake-timeout=0 ${paths}"
326328executor = {group = " notebooks" , with = " nbmake" }
327329help = " Run all notebooks"
328330
329- [[tool .poe .tasks .nb .args ]]
330- default = " docs"
331- multiple = true
332- name = " paths"
333- positional = true
334-
335331[tool .poe .tasks .style ]
336332cmd = " pre-commit run --all-files"
337333executor = {group = " style" }
338334help = " Perform all linting, formatting, and spelling checks"
339335
340336[tool .poe .tasks .test ]
341- cmd = " pytest --numprocesses=auto ${paths}"
337+ cmd = " pytest --numprocesses=auto -m 'slow or not slow' ${paths}"
342338executor = {group = " test" }
343339help = " Run all unit tests"
344340
@@ -351,33 +347,39 @@ positional = true
351347[tool .poe .tasks .test-all ]
352348help = " Run all tests on each supported Python version"
353349sequence = [
354- {ref = " test-py 3.9" },
355- {ref = " test-py 3.10" },
356- {ref = " test-py 3.11" },
357- {ref = " test-py 3.12" },
358- {ref = " test-py 3.13" },
359- {ref = " test-py 3.14" },
350+ {ref = " test-py310 ${paths}" },
351+ {ref = " test-py311 ${paths}" },
352+ {ref = " test-py312 ${paths}" },
353+ {ref = " test-py313 ${paths}" },
354+ {ref = " test-py314 ${paths}" },
360355]
361356
362- [tool .poe .tasks .test-py ]
363- cmd = """
364- uv run \
365- --group=test \
366- --isolated \
367- --no-dev \
368- --python=${version} \
369- pytest \
370- -m 'slow or not slow' \
371- --numprocesses=auto
372- """
373- help = " Run all tests on a specific Python version"
374-
375- [[tool .poe .tasks .test-py .args ]]
376- default = " 3.13"
377- help = " Selected Python version"
378- name = " version"
357+ [[tool .poe .tasks .test-all .args ]]
358+ default = " "
359+ multiple = true
360+ name = " paths"
379361positional = true
380362
363+ [tool .poe .tasks .test-py310 ]
364+ env = {UV_PYTHON = " 3.10" }
365+ ref = " test"
366+
367+ [tool .poe .tasks .test-py311 ]
368+ env = {UV_PYTHON = " 3.11" }
369+ ref = " test"
370+
371+ [tool .poe .tasks .test-py312 ]
372+ env = {UV_PYTHON = " 3.12" }
373+ ref = " test"
374+
375+ [tool .poe .tasks .test-py313 ]
376+ env = {UV_PYTHON = " 3.13" }
377+ ref = " test"
378+
379+ [tool .poe .tasks .test-py314 ]
380+ env = {UV_PYTHON = " 3.14" }
381+ ref = " test"
382+
381383[tool .pyright ]
382384reportArgumentType = false
383385reportAssignmentType = false
@@ -486,6 +488,7 @@ ignore = [
486488 " PLW2901" ,
487489 " PT001" ,
488490 " PTH" ,
491+ " RUF067" ,
489492 " SIM108" ,
490493]
491494select = [" ALL" ]
0 commit comments