summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-01-13 15:44:00 +0100
committermathieui <mathieui@mathieui.net>2018-01-13 15:44:00 +0100
commit675e016a788cba1a329c7c389cfd55114e9bb6aa (patch)
treeb3984614cbf37e7c4bd3a95b5670986c111288d6
parent12ede4d3019a611b3b58d245d65c52bc01f37046 (diff)
downloadpoezio-675e016a788cba1a329c7c389cfd55114e9bb6aa.tar.gz
poezio-675e016a788cba1a329c7c389cfd55114e9bb6aa.tar.bz2
poezio-675e016a788cba1a329c7c389cfd55114e9bb6aa.tar.xz
poezio-675e016a788cba1a329c7c389cfd55114e9bb6aa.zip
Add a gitlab-ci yapf check
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1987d5e9..7bd23774 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,3 +46,10 @@ test-ubuntu:
- python3 setup.py install
- py.test -v test/
- pylint -E poezio
+
+formatting-check:
+ stage: test
+ image: poezio/test-base:latest
+ script:
+ - pip3 install yapf
+ - [ -n "$(yapf -dpr poezio)" ] && echo "yapf check failure" && exit 1