hass-core/scripts/check_style
2015-02-22 17:33:01 -08:00

9 lines
187 B
Text
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