core/scripts/check_style

10 lines
187 B
Plaintext
Executable File

# Run style checks
# If current pwd is scripts, go 1 up.
if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi
pylint homeassistant
flake8 homeassistant --exclude bower_components,external