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
pre-commit fails when there are more files to check than hyperthreads on the machine
error message about .dvc/tmp/lock is misleading and uphelpful
Steps to reproduce:
dvc (master)$ pre-commit run --all-files
black....................................................................Passed
flake8...................................................................Passed
beautysh.................................................................Passed
DVC pre-commit...........................................................Failed
- hook id: dvc-pre-commit
- duration: 6.17s
- exit code: 1
ERROR: failed to obtain data status - cannot perform the command because another DVC process seems to be running on this project. If that is not the case, manually remove `.dvc/tmp/lock` and try again.
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
* pre-commit: use local hooks
* pre-commit: don't run dvc in parallel
By default pre-commit will try to run hooks in parallel, which results
in some dvc instances failing to acquire repo locks.
Fixes#3751
.dvc/tmp/lock
is misleading and uphelpfulSteps to reproduce:
The text was updated successfully, but these errors were encountered: