Include the yapf diff in gitlab-ci output

unfortunately, I’m lazy and it's easier to run the job twice
This commit is contained in:
mathieui 2018-01-16 00:06:34 +01:00
parent 323b77c2f4
commit f332c03217
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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'"