fix ci yapf command if no python files found
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
72c0de3633
commit
ef358f21f8
@ -21,7 +21,7 @@ local PipelineLinting = {
|
||||
},
|
||||
commands: [
|
||||
'pip install -qq yapf',
|
||||
'yapf -dr ./',
|
||||
'[ ! -z "$(find . -type f -name *.py)" ] && yapf -rd ./',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ steps:
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pip install -qq yapf
|
||||
- yapf -dr ./
|
||||
- "[ ! -z \"$(find . -type f -name *.py)\" ] && yapf -rd ./"
|
||||
environment:
|
||||
PY_COLORS: 1
|
||||
|
||||
@ -115,6 +115,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: b03338947d1b08b875e8743884aa9627e05094b5bfb39f1a96756222b10fea52
|
||||
hmac: 9139ea88a8488435167dc4ae1efc896950f26cf67b285e89da71c169c798eafc
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user