Changes default_runner to run its same logic over each folder path returned by root_dirs(), returning the first success - if none are found, it defaults to unittest.
Note: this removes the trailing return 'unittest' from within the elseif uv.fs_stat("pyproject.toml") then ... scope, and instead proceeds with checking the next root folder in the loop - this is intentional.
Changes
default_runner
to run its same logic over each folder path returned byroot_dirs()
, returning the first success - if none are found, it defaults tounittest
.Note: this removes the trailing
return 'unittest'
from within theelseif uv.fs_stat("pyproject.toml") then ...
scope, and instead proceeds with checking the next root folder in the loop - this is intentional.Also updates associated docs to note the logic.