mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Fix CI
This commit is contained in:
11
script/lint
11
script/lint
@ -3,7 +3,16 @@
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "Checking style with flake8..."
|
||||
flake8 homeassistant
|
||||
flake8 --exclude www_static homeassistant
|
||||
|
||||
STATUS=$?
|
||||
|
||||
echo "Checking style with pylint..."
|
||||
pylint homeassistant
|
||||
|
||||
if [ $STATUS -eq 0 ]
|
||||
then
|
||||
exit $?
|
||||
else
|
||||
exit $STATUS
|
||||
fi
|
||||
|
Reference in New Issue
Block a user