fix ci yapf command if no python files found

This commit is contained in:
Robert Kaussow 2021-06-08 09:05:27 +02:00
parent cef0783414
commit 7de6bd74d7
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ local PipelineLinting = {
},
commands: [
'pip install -qq yapf',
'yapf -dr ./',
'[ ! -z "$(find . -type f -name *.py)" ] && yapf -rd ./',
],
},
{