aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar kpayson64 <kpayson@google.com>2017-02-06 14:39:50 -0800
committerGravatar GitHub <noreply@github.com>2017-02-06 14:39:50 -0800
commitb45791d4623c46fe010a79cb1c53ed705d1bd5ca (patch)
tree2499b18ec925f5bdcead9689a6d4f78606d97b0a /tools
parent7c54d2929c31b00149ec77cd1c753e2175b1f35f (diff)
parent0f5e3a87c2788ce1993b3e5ed58025c93daa876b (diff)
Merge pull request #9600 from kpayson64/pin_yapf_1.1.x
Pin yapf for v1.1.x
Diffstat (limited to 'tools')
-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