1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 06:28:31 +00:00
Files
core/script/lint
Paulus Schoutsen ec1d5e617e Fix CI
2015-09-19 12:29:23 -07:00

19 lines
254 B
Plaintext
Executable File

# Run style checks
cd "$(dirname "$0")/.."
echo "Checking style with flake8..."
flake8 --exclude www_static homeassistant
STATUS=$?
echo "Checking style with pylint..."
pylint homeassistant
if [ $STATUS -eq 0 ]
then
exit $?
else
exit $STATUS
fi