diff --git a/ci.sh b/ci.sh index dce66c2..85d2a18 100755 --- a/ci.sh +++ b/ci.sh @@ -2,6 +2,7 @@ set -ex +CHECK_FILES="setup.py src tests" YAPF_VERSION=0.20.1 python -m pip install -U pip setuptools wheel @@ -13,8 +14,8 @@ pip install dist/*.zip pip install -Ur test-requirements.txt if [ "$CHECK_FORMATTING" = "1" ]; then - pip install yapf==${YAPF_VERSION} isort>=5 mypy pyright - if ! yapf -rpd setup.py src tests; then + pip install yapf==${YAPF_VERSION} "isort>=5" mypy pyright + if ! yapf -rpd $CHECK_FILES; then cat <