Skip to content

Commit

Permalink
Fix console coloring for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Dec 28, 2015
1 parent 7f17a50 commit 473d6b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python:
- 3.5
install:
# 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:
- script/cibuild
Expand Down
4 changes: 2 additions & 2 deletions script/lint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 473d6b1

Please sign in to comment.