pvc/lint

10 lines
209 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
if ! which flake8 &>/dev/null; then
echo "Flake8 is required to lint this project"
exit 1
fi
flake8 \
--exclude=api-daemon/migrations/versions,api-daemon/provisioner/examples