Add a gitlab-ci yapf check
This commit is contained in:
parent
12ede4d301
commit
675e016a78
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue