Fix console coloring for scripts

This commit is contained in:
Paulus Schoutsen committed 2015-12-27 19:19:29 -08:00
1 parent 7f17a50b4a
commit 473d6b1d05
2 files changed
+3 -3

No files matched your search

+2 -2
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