aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-06-24 20:57:00 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-06-24 20:57:00 +0000
commita7182f7f5a7253bbcd33eabff1b3ec4fb686edb0 (patch)
tree52a5b132e91ca3168855187938c60fddca241482
parent936f8d5eaaf63a72792226eda0209becb60b0ec8 (diff)
Always use an upgraded pip when running pylint
-rwxr-xr-xtools/distrib/pylint_code.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/distrib/pylint_code.sh b/tools/distrib/pylint_code.sh
index f5c958473f..3a1825535d 100755
--- a/tools/distrib/pylint_code.sh
+++ b/tools/distrib/pylint_code.sh
@@ -19,15 +19,16 @@ set -ex
cd "$(dirname "$0")/../.."
DIRS=(
- 'src/python/grpcio/grpc'
- 'src/python/grpcio_reflection/grpc_reflection'
- 'src/python/grpcio_health_checking/grpc_health'
+ 'src/python/grpcio/grpc'
+ 'src/python/grpcio_health_checking/grpc_health'
+ 'src/python/grpcio_reflection/grpc_reflection'
)
VIRTUALENV=python_pylint_venv
virtualenv $VIRTUALENV
PYTHON=$(realpath $VIRTUALENV/bin/python)
+$PYTHON -m pip install --upgrade pip
$PYTHON -m pip install pylint==1.6.5
for dir in "${DIRS[@]}"; do