You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically running tox -r would reset tox's cache. However, when it wraps other things with their own caches, those won't be affected. One example is pre-commit.
It'd be nice to have some sort of a pre_cache_clean setting in tox.ini where additional commands could be put and would be executed right before tox deletes .tox/{envname}. In case of pre-commit, I'd put pre_cache_clean = {envpython} -Im pre_commit clean into the config and it would always purge both caches.
The text was updated successfully, but these errors were encountered:
So basically running
tox -r
would reset tox's cache. However, when it wraps other things with their own caches, those won't be affected. One example ispre-commit
.It'd be nice to have some sort of a
pre_cache_clean
setting intox.ini
where additional commands could be put and would be executed right beforetox
deletes.tox/{envname}
. In case ofpre-commit
, I'd putpre_cache_clean = {envpython} -Im pre_commit clean
into the config and it would always purge both caches.The text was updated successfully, but these errors were encountered: