feat(ci): add style task
This commit is contained in:
parent
8be4e48bae
commit
e6eea3a3a5
2 changed files with 44 additions and 0 deletions
13
ci/tasks/style.yaml
Normal file
13
ci/tasks/style.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
platform: linux
|
||||
inputs:
|
||||
- name: quay-pull-request
|
||||
run:
|
||||
path: /bin/sh
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
set -eux
|
||||
pip install --quiet -r quay-pull-request/requirements-dev.txt
|
||||
cd quay-pull-request
|
||||
yapf -d -r .
|
Reference in a new issue