tox icon indicating copy to clipboard operation
tox copied to clipboard

Provide a tox_after_run_commands_post hook

Open ssbarnea opened this issue 8 months ago • 1 comments

What's the problem this feature will solve?

Currently tox plugins hook tox_after_run_commands is run before commands_post and I do have a use case where I want to run some plugin code after the commands_post. At this moment this is not possible.

Describe the solution you'd like

Provide a hook for running plugins after commands_post.

Alternative Solutions

AFAIK there is no workaround as I did not see any other hook that could be called later.

Additional context

Any suggestion would be welcomed. Happy to write the code once we agree on how it should look.

ssbarnea avatar Aug 07 '25 16:08 ssbarnea

Could you just extend commands_post via config?

gaborbernat avatar Aug 07 '25 16:08 gaborbernat