Ensure to remove cache files for Tox runs #179

Merged
witten merged 1 commits from :cifix/tox-clean-up into master 2019-05-19 17:07:11 +00:00
Contributor

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.

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.
Owner

A simpler variant of this might be:

find {toxinidir} -type f -name '*-PYTEST.py[c|o]' -delete

However, that may not handle the edge case of .pyc files created with tooling other than tox/pytest. Example: pip installing editable.

A simpler variant of this might be: ```bash find {toxinidir} -type f -name '*-PYTEST.py[c|o]' -delete ``` However, that may not handle the edge case of `.pyc` files created with tooling other than tox/pytest. Example: pip installing editable.
witten closed this pull request 2019-05-19 17:07:11 +00:00
decentral1se deleted branch cifix/tox-clean-up 2019-05-19 21:46:33 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#179
No description provided.