More code quality checks

This commit is contained in:
Laurent Bachelier 2013-04-03 18:59:49 +02:00
commit a99b1ce73d

View file

@ -1,6 +1,8 @@
#!/bin/bash -u
cd $(dirname $0)
cd ..
grep -r --include '*.py' 'class [^( ]\+:$' . && exit 3
grep -r --include '*.py' $'\t\|\s$' . && exit 4
FLAKE8=""
if which flake8 >/dev/null 2>&1; then