From c0efc4842f8b0855a681dc6beefec6afcade3b28 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:32:18 +0200 Subject: [PATCH] modified: .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a147d503..69632440 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,6 @@ python_formatter: script: - which autopep8 || pip install autopep8 - 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 + - for i in `git whatchanged -4 | egrep "new|modified" | grep ".eb" | cut -d ":" -f 2 | cut -d " " -f 4`; do echo $i; autopep8 --in-place --aggressive --aggressive "$i"; done only: - master