Skip to content

Run all selected tasks in single mode - #499

Open
jihtsan wants to merge 1 commit into
pydoit:masterfrom
jihtsan:codex/446-single-multiple
Open

jihtsan wants to merge 1 commit into
pydoit:masterfrom
jihtsan:codex/446-single-multiple

Conversation

@jihtsan

@jihtsan jihtsan commented Oct 26, 2026

Copy link
Copy Markdown

Process the selection once when running with -s/--single. Processing the same selection twice reinitializes options for an already processed task and stops parsing after the first task, dropping later tasks. Removing the duplicate call preserves multiple selections, task arguments and group expansion while suppressing task dependencies as single mode intends.

Closes #446.

Validation on CPython 3.13.12: three new regressions fail before the fix and pass after it; 17 targeted Run tests pass. A real doit -s one two invocation now creates both expected files. Full rut -vv completes successfully (834 passed plus sample executions); project pyflakes and codestyle pass. Other Python versions, Linux/Windows and hosted CI were not run locally.

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.

-s param doesn´t accept multiple arguments since 0.34.0

1 participant