githooks: do not run syntax checks on files being deleted

This commit is contained in:
Hans-Christoph Steiner committed 2016-06-15 14:59:56 +02:00
1 parent 90ac5d3fa8
commit 14b702b23b
1 file changed
+1
+1
View File
@@ -23,6 +23,7 @@ else
RB_FILES=
for f in $files; do
test -e $f || continue
case $f in
*.py)
PY_FILES+=" $f"