commit | bc1658492a6a8157550f94b10bdf4a87fc5e83bb | [log] [tgz] |
---|---|---|
author | Ken Payson <kpayson@google.com> | Wed Dec 13 13:44:34 2017 -0800 |
committer | Ken Payson <kpayson@google.com> | Wed Dec 13 13:44:34 2017 -0800 |
tree | 10dfba7f1c57dfc43d8703fd76e10e1c0cbcd4d9 | |
parent | cc04915b07cfd5245b43bb91cfa610cd406dc3f6 [diff] [blame] |
Ignore pyc files on yapf diff
diff --git a/tools/distrib/yapf_code.sh b/tools/distrib/yapf_code.sh index 44eb967..fb14f36 100755 --- a/tools/distrib/yapf_code.sh +++ b/tools/distrib/yapf_code.sh
@@ -54,7 +54,7 @@ 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