This commit is contained in:
Paulus Schoutsen
2015-09-19 12:29:23 -07:00
parent 6c1f44242c
commit ec1d5e617e
8 changed files with 37 additions and 10 deletions

View File

@ -3,7 +3,16 @@
cd "$(dirname "$0")/.."
echo "Checking style with flake8..."
flake8 homeassistant
flake8 --exclude www_static homeassistant
STATUS=$?
echo "Checking style with pylint..."
pylint homeassistant
if [ $STATUS -eq 0 ]
then
exit $?
else
exit $STATUS
fi