fix ci yapf command if no python files found
This commit is contained in:
parent
cef0783414
commit
7de6bd74d7
|
@ -21,7 +21,7 @@ local PipelineLinting = {
|
|||
},
|
||||
commands: [
|
||||
'pip install -qq yapf',
|
||||
'yapf -dr ./',
|
||||
'[ ! -z "$(find . -type f -name *.py)" ] && yapf -rd ./',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue