Add nicer output to lint script
This commit is contained in:
parent
6f66b77a00
commit
f11e5f05a8
5
lint
5
lint
|
@ -8,3 +8,8 @@ fi
|
||||||
flake8 \
|
flake8 \
|
||||||
--ignore=E501 \
|
--ignore=E501 \
|
||||||
--exclude=api-daemon/migrations/versions,api-daemon/provisioner/examples
|
--exclude=api-daemon/migrations/versions,api-daemon/provisioner/examples
|
||||||
|
ret=$?
|
||||||
|
if [[ $ret -eq 0 ]]; then
|
||||||
|
echo "No linting issues found!"
|
||||||
|
fi
|
||||||
|
exit $ret
|
||||||
|
|
Loading…
Reference in New Issue