Attempt to fix CI scripts
This commit is contained in:
1 parent
19d40612e6
commit
0d09e2e1df
3 files changed
+32
-8
No files matched your search
+5
-4
@@ -5,14 +5,15 @@ cd "$(dirname "$0")/.."
|
||||
echo "Checking style with flake8..."
|
||||
flake8 --exclude www_static homeassistant
|
||||
|
||||
STATUS=$?
|
||||
FLAKE8_STATUS=$?
|
||||
|
||||
echo "Checking style with pylint..."
|
||||
pylint homeassistant
|
||||
PYLINT_STATUS=$?
|
||||
|
||||
if [ $STATUS -eq 0 ]
|
||||
if [ $FLAKE8_STATUS -eq 0 ]
|
||||
then
|
||||
exit $?
|
||||
exit $FLAKE8_STATUS
|
||||
else
|
||||
exit $STATUS
|
||||
exit $PYLINT_STATUS
|
||||
fi
|
||||
Reference in new issue
Block a user