Fix console coloring for scripts

This commit is contained in:
Paulus Schoutsen
2015-12-27 19:18:03 -08:00
parent 7f17a50b4a
commit 473d6b1d05
2 changed files with 3 additions and 3 deletions

View File

@ -6,13 +6,13 @@ echo "Checking style with flake8..."
tput setaf 1
flake8 --exclude www_static homeassistant
FLAKE8_STATUS=$?
tput setaf 7; tput sgr0
tput sgr0
echo "Checking style with pylint..."
tput setaf 1
pylint homeassistant
PYLINT_STATUS=$?
tput setaf 7; tput sgr0
tput sgr0
if [ $FLAKE8_STATUS -eq 0 ]
then