diff options
author | Ken Payson <kpayson@google.com> | 2017-12-13 13:44:34 -0800 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-12-13 13:44:34 -0800 |
commit | bc1658492a6a8157550f94b10bdf4a87fc5e83bb (patch) | |
tree | 10dfba7f1c57dfc43d8703fd76e10e1c0cbcd4d9 /tools/distrib | |
parent | cc04915b07cfd5245b43bb91cfa610cd406dc3f6 (diff) |
Ignore pyc files on yapf diff
Diffstat (limited to 'tools/distrib')
-rwxr-xr-x | tools/distrib/yapf_code.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/yapf_code.sh b/tools/distrib/yapf_code.sh index 44eb967c4b..fb14f36c66 100755 --- a/tools/distrib/yapf_code.sh +++ b/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 |