failure mode looks something like this:
Check for added large files..............................................Failed
- hook id: check-added-large-files
- exit code: 1
Executable `/Users/runner/.cache/pre-commit/repo14qw_y0i/py_env-python3.8/bin/python` not found
currently this is a common failure for github actions caches, there's ~2 ways to work around this:
- add
$(which python) to the pre-commit cache key
- manually bump the pre-commit cache key
but pre-commit should more gracefully detect this in the healthy() function (which is designed to catch these sorts of system breakages)
failure mode looks something like this:
currently this is a common failure for github actions caches, there's ~2 ways to work around this:
$(which python)to the pre-commit cache keybut pre-commit should more gracefully detect this in the
healthy()function (which is designed to catch these sorts of system breakages)