From 42845da7aaceb17cbdf6a05c623fb5c1ee590f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Wed, 3 Oct 2018 08:09:57 +0200 Subject: [PATCH] modified: .gitlab-ci.yml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) 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