Add pre-commit hooks

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-08-24 15:15:08 -04:00
commit fae6454661
4 changed files with 33 additions and 2 deletions

View file

@ -5,7 +5,7 @@
set -e
>&2 echo "Running lint checks"
flake8 compose tests setup.py
tox -e pre-commit
if [ "$DOCKER_VERSIONS" == "" ]; then
DOCKER_VERSIONS="default"