Ensure to remove cache files for Tox runs #179
No reviewers
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#179
Loading…
Reference in New Issue
No description provided.
Delete Branch ":cifix/tox-clean-up"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Python and Tox can leave stuff around in .tox that breaks the build when you come back to run it. Tox then prompts to remove cache files etc. So, in order to save developers from doing this themselves, we put this into the Tox run.
A simpler variant of this might be:
However, that may not handle the edge case of
.pyc
files created with tooling other than tox/pytest. Example: pip installing editable.