From: Daniel Martí Date: Sat, 31 May 2014 21:09:58 +0000 (+0200) Subject: Enable pep8 in pre-commit X-Git-Tag: 0.2~53 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c125ab9b7f9fc6f913df23c15acc813f74196dfe;p=fdroidserver.git Enable pep8 in pre-commit --- diff --git a/hooks/pre-commit b/hooks/pre-commit index 077aeab0..47a32db2 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -30,5 +30,5 @@ else fi # If there are python errors or warnings, print them and fail. -[ -n "$PYFLAKES" ] && $PYFLAKES $FILES -#[ -n "$PEP8" ] && $PEP8 --ignore=E123,E501 $FILES +[ -n $PYFLAKES ] && $PYFLAKES $FILES +[ -n $PEP8 ] && $PEP8 --ignore=E123,E501 $FILES