chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5854b7
)
Enable pep8 in pre-commit
author
Daniel Martí
<mvdan@mvdan.cc>
Sat, 31 May 2014 21:09:58 +0000
(23:09 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sat, 31 May 2014 21:09:58 +0000
(23:09 +0200)
hooks/pre-commit
patch
|
blob
|
history
diff --git
a/hooks/pre-commit
b/hooks/pre-commit
index 077aeab07e4aaa2aa96fe7d22e31cac20169ed55..47a32db288c02ffe042c06dadacd0efd037fe9df 100755
(executable)
--- 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