aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/yapf_code.sh
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-02-06 10:27:09 -0800
committerGravatar Ken Payson <kpayson@google.com>2017-02-06 10:27:09 -0800
commit2fa5f2f978fc68c732d6bfd35bcde1c7e7e4cf22 (patch)
tree5847db94b9edc86826e742761b938944a592c2a7 /tools/distrib/yapf_code.sh
parent26623b3d77ae78e66f66b996593acf57a7cf1197 (diff)
Re-run yapf code, and pin version
Diffstat (limited to 'tools/distrib/yapf_code.sh')
-rwxr-xr-xtools/distrib/yapf_code.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/distrib/yapf_code.sh b/tools/distrib/yapf_code.sh
index e3ebf1c490..030412ebeb 100755
--- a/tools/distrib/yapf_code.sh
+++ b/tools/distrib/yapf_code.sh
@@ -40,7 +40,8 @@ VIRTUALENV=python_format_venv
virtualenv $VIRTUALENV
PYTHON=`realpath $VIRTUALENV/bin/python`
-$PYTHON -m pip install --upgrade futures yapf
+$PYTHON -m pip install futures
+$PYTHON -m pip install yapf==0.16.0
exclusion_args=""
for exclusion in $EXCLUSIONS; do