Always use an upgraded pip when running pylint

pull/11595/head
Nathaniel Manista 8 years ago
parent 936f8d5eaa
commit a7182f7f5a
  1. 7
      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

Loading…
Cancel
Save