From 3a2740e047a0a13dfc8c551615d03a6bae2bdc32 Mon Sep 17 00:00:00 2001 From: barrierye Date: Tue, 10 Mar 2020 18:35:52 +0800 Subject: [PATCH] fix Cannot uninstall "enum34" --- tools/serving_check_style.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/serving_check_style.sh b/tools/serving_check_style.sh index d63bb6c2..8739ba7e 100644 --- a/tools/serving_check_style.sh +++ b/tools/serving_check_style.sh @@ -16,7 +16,8 @@ function check_style() { trap 'abort' 0 set -e - pip install cpplint pylint 'pre-commit==1.10.4' + pip install cpplint 'pre-commit==1.10.4' + pip install --ignore-installed pylint export PATH=/usr/bin:$PATH pre-commit install -- GitLab