diff options
author | mathieui <mathieui@mathieui.net> | 2018-01-13 15:44:00 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-01-13 15:44:00 +0100 |
commit | 675e016a788cba1a329c7c389cfd55114e9bb6aa (patch) | |
tree | b3984614cbf37e7c4bd3a95b5670986c111288d6 | |
parent | 12ede4d3019a611b3b58d245d65c52bc01f37046 (diff) | |
download | poezio-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.yml | 7 |
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 |