mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
* 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
13 lines
249 B
Bash
Executable File
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
|