mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix console coloring for scripts
This commit is contained in:
parent
7f17a50b4a
commit
473d6b1d05
@ -9,7 +9,7 @@ python:
|
|||||||
- 3.5
|
- 3.5
|
||||||
install:
|
install:
|
||||||
# Validate requirements_all.txt on Python 3.4
|
# Validate requirements_all.txt on Python 3.4
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python3 setup.py -q develop 2>/dev/null; tput setaf 1; script/gen_requirements_all.py validate; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python3 setup.py -q develop 2>/dev/null; tput setaf 1; script/gen_requirements_all.py validate; tput sgr0; fi
|
||||||
- script/bootstrap_server
|
- script/bootstrap_server
|
||||||
script:
|
script:
|
||||||
- script/cibuild
|
- script/cibuild
|
||||||
|
@ -6,13 +6,13 @@ echo "Checking style with flake8..."
|
|||||||
tput setaf 1
|
tput setaf 1
|
||||||
flake8 --exclude www_static homeassistant
|
flake8 --exclude www_static homeassistant
|
||||||
FLAKE8_STATUS=$?
|
FLAKE8_STATUS=$?
|
||||||
tput setaf 7; tput sgr0
|
tput sgr0
|
||||||
|
|
||||||
echo "Checking style with pylint..."
|
echo "Checking style with pylint..."
|
||||||
tput setaf 1
|
tput setaf 1
|
||||||
pylint homeassistant
|
pylint homeassistant
|
||||||
PYLINT_STATUS=$?
|
PYLINT_STATUS=$?
|
||||||
tput setaf 7; tput sgr0
|
tput sgr0
|
||||||
|
|
||||||
if [ $FLAKE8_STATUS -eq 0 ]
|
if [ $FLAKE8_STATUS -eq 0 ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user