Files
dvc/scripts/ci/check_patch.sh
T
Ruslan Kuprieiev f504245f35 pre-commit: don't run dvc in parallel (#3912)
* 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
2020-05-29 21:20:46 +03:00

13 lines
249 B
Bash
Executable File

#!/bin/bash
set -x
set -e
pip install Pygments collective.checkdocs pre-commit .
# stop the build if there are any readme formatting errors
python setup.py checkdocs
# stop the build if there are any formatting errors
pre-commit run --all-files