diff options
author | Nathaniel Manista <nathaniel@google.com> | 2017-02-16 08:02:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 08:02:01 -0800 |
commit | 01c5bdba79b68189c953da1491be8dd104363ed6 (patch) | |
tree | 3001aec10f8be7edb3adace49bb2f4a808e2a35d | |
parent | 47c3e7cd36e6870c2bf7bc51bd11d16f537f6ba8 (diff) | |
parent | b3a1ec2111676d1504e1fdef41fdf8e046c1e283 (diff) |
Merge pull request #9736 from nathanielmanistaatgoogle/sanity
Sanity improvements.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | tools/distrib/yapf_code.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 4098106e76..56e4b6d4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ objs cython_debug/ python_build/ python_format_venv/ +python_pylint_venv/ .coverage* .eggs htmlcov/ diff --git a/tools/distrib/yapf_code.sh b/tools/distrib/yapf_code.sh index 030412ebeb..007b14810e 100755 --- a/tools/distrib/yapf_code.sh +++ b/tools/distrib/yapf_code.sh @@ -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 |