Skip to content

Conversation

@a3ng7n
Copy link
Contributor

@a3ng7n a3ng7n commented Aug 29, 2024

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.

Also updates associated docs to note the logic.

@a3ng7n
Copy link
Contributor Author

a3ng7n commented Sep 5, 2024

@mfussenegger sorry to bother, but have you had a chance to look at this?

@mfussenegger mfussenegger merged commit 0844bf3 into mfussenegger:master Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants