diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9710923..dd6999d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ python_check: image: davidhrbac/docker-pycheck:latest script: - which autopep8 || pip install autopep8 + - which git || apt update && apt install 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