Tweak lint script colors for travis
This commit is contained in:
parent
c1eaf60461
commit
c7183a14a5
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@ echo "Checking style with flake8..."
|
|||
tput setaf 1
|
||||
flake8 --exclude www_static homeassistant
|
||||
FLAKE8_STATUS=$?
|
||||
tput sgr0
|
||||
tput setaf 7; tput sgr0
|
||||
|
||||
echo "Checking style with pylint..."
|
||||
tput setaf 1
|
||||
tput setaf 1; pylint homeassistant
|
||||
pylint homeassistant
|
||||
PYLINT_STATUS=$?
|
||||
tput sgr0
|
||||
tput setaf 7; tput sgr0
|
||||
|
||||
if [ $FLAKE8_STATUS -eq 0 ]
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue