Does pydoit provide a facility similar to the DELETE_ON_ERROR option for GNU make? According to the documentation from the official website:
.DELETE_ON_ERROR
If .DELETE_ON_ERROR is mentioned as a target anywhere in the makefile, then make will delete
the target of a rule if it has changed and its recipe exits with a nonzero exit status, just as it does
when it receives a signal. See Errors in Recipes.
When a long running task is interrupted with Ctrl+C, then this usually results in a corrupted target file that should not be used for further processing steps. With the current default behavior, however, the file remains, and pydoit may try to use it for other targets that depend on it. How can one avoid this?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too