diff options
Diffstat (limited to 'tools/distrib/pylint_code.sh')
-rwxr-xr-x | tools/distrib/pylint_code.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/distrib/pylint_code.sh b/tools/distrib/pylint_code.sh index 307fe6c0c0..013b6660eb 100755 --- a/tools/distrib/pylint_code.sh +++ b/tools/distrib/pylint_code.sh @@ -30,10 +30,11 @@ TEST_DIRS=( ) VIRTUALENV=python_pylint_venv +python -m virtualenv $VIRTUALENV -virtualenv $VIRTUALENV -PYTHON=$(realpath $VIRTUALENV/bin/python) -$PYTHON -m pip install --upgrade pip==9.0.2 +PYTHON=$VIRTUALENV/bin/python + +$PYTHON -m pip install --upgrade pip==10.0.1 $PYTHON -m pip install pylint==1.6.5 for dir in "${DIRS[@]}"; do |