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:
parent
323b77c2f4
commit
f332c03217
1 changed files with 1 additions and 0 deletions
|
@ -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'"
|
||||
|
|
Loading…
Reference in a new issue