From f332c032172af3a4b547671ce38dc80c1cd1dba9 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 16 Jan 2018 00:06:34 +0100 Subject: Include the yapf diff in gitlab-ci output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit unfortunately, I’m lazy and it's easier to run the job twice --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e504d301..fb966f0c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,4 +52,5 @@ formatting-check: image: poezio/test-base:latest script: - pip3 install yapf + - yapf -dpr poezio - "[ -n \"$(yapf -dpr poezio)\" ] && echo 'Formatting check failed, please run yapf' && exit 1 || echo 'Formatting check succeeded'" -- cgit v1.2.3