diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd6999d3..d5b27b95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ python_check: image: davidhrbac/docker-pycheck:latest script: - which autopep8 || pip install autopep8 - - which git || apt update && apt install git + - which git || apt update && apt install -y git - for i in `git show HEAD | egrep "new file|modified" | grep ".eb" | cut -d ":" -f 2 | cut -d " " -f 4`; do echo $i; autopep8 --in-place --aggressive --aggressive "$i"; done only: - master