Skip to content

Have render functions call print() themselves rather than the caller#506

Merged
gaborbernat merged 1 commit intotox-dev:mainfrom
kemzeb:refactor/render-functions
Sep 22, 2025
Merged

Have render functions call print() themselves rather than the caller#506
gaborbernat merged 1 commit intotox-dev:mainfrom
kemzeb:refactor/render-functions

Conversation

@kemzeb
Copy link
Copy Markdown
Collaborator

@kemzeb kemzeb commented Sep 21, 2025

It makes more sense to call print() inside the render functions because that’s their purpose. Some were already doing this anyways.

This change also adds a coverage test for the --json render.

@kemzeb kemzeb changed the title Have render functions call print() instead of the caller Have render functions call print() themselves rather than the caller Sep 21, 2025
@gaborbernat gaborbernat merged commit 5672fb0 into tox-dev:main Sep 22, 2025
12 checks passed
@kemzeb kemzeb deleted the refactor/render-functions branch September 23, 2025 01:56
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