Merge pull request #9736 from nathanielmanistaatgoogle/sanity

Sanity improvements.
pull/9744/head
Nathaniel Manista 8 years ago committed by GitHub
commit 01c5bdba79
  1. 1
      .gitignore
  2. 2
      tools/distrib/yapf_code.sh

1
.gitignore vendored

@ -9,6 +9,7 @@ objs
cython_debug/
python_build/
python_format_venv/
python_pylint_venv/
.coverage*
.eggs
htmlcov/

@ -53,7 +53,7 @@ for dir in $DIRS; do
tempdir=`mktemp -d`
cp -RT $dir $tempdir
$PYTHON -m yapf -i -r -p $exclusion_args $dir
if ! diff -rq $dir $tempdir; then
if ! diff -r $dir $tempdir; then
script_result=1
fi
rm -rf $tempdir

Loading…
Cancel
Save