Skip to content

fix: document that task-generator returns are ignored - #995

Merged
tobiasraabe merged 3 commits into
mainfrom
codex/document-task-generator-returns
Sep 19, 2026
Merged

tobiasraabe merged 3 commits into
mainfrom
codex/document-task-generator-returns

Conversation

@tobiasraabe

Copy link
Copy Markdown
Member

Summary

  • document that task-generator return values are ignored
  • stop the ordinary execution hook from processing generator returns
  • add a regression test and changelog entry

Tests

  • uv run --group test pytest tests/test_provisional.py -q
  • uv run ruff check src/_pytask/provisional.py tests/test_provisional.py

The full suite had no assertion failures, but the repository command returned nonzero because Syrupy reported four unused snapshots.

@tobiasraabe tobiasraabe changed the title Document that task-generator returns are ignored fix: document that task-generator returns are ignored Sep 19, 2026
@tobiasraabe
tobiasraabe added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit abff647 Sep 19, 2026
23 checks passed
@tobiasraabe
tobiasraabe deleted the codex/document-task-generator-returns branch September 19, 2026 13:30
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.

1 participant