Ignore pyc files on yapf diff

pull/13758/head
Ken Payson 7 years ago
parent cc04915b07
commit bc1658492a
  1. 2
      tools/distrib/yapf_code.sh

@ -54,7 +54,7 @@ else
tempdir=$(mktemp -d)
cp -RT "${dir}" "${tempdir}"
yapf "${tempdir}"
diff -ru "${dir}" "${tempdir}" || ok=no
diff -x '*.pyc' -ru "${dir}" "${tempdir}" || ok=no
rm -rf "${tempdir}"
done
if [[ ${ok} == no ]]; then

Loading…
Cancel
Save