Files
dvc/scripts/ci/check_patch.sh
T
2019-08-10 04:15:22 +03:00

14 lines
264 B
Bash
Executable File

#!/bin/bash
set -x
set -e
pip install Pygments collective.checkdocs flake8 'black==19.3b0'
# stop the build if there are any readme formatting errors
python setup.py checkdocs
# stop the build if there are any black or flake8 errors
black ./ --check
flake8 ./