githooks: do not run syntax checks on files being deleted

This commit is contained in:
Hans-Christoph Steiner 2016-06-15 13:32:14 +02:00
parent 90ac5d3fa8
commit 14b702b23b

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"