From d60b99cd5aa246809abbf64d761265d422839f9c Mon Sep 17 00:00:00 2001 From: Dirk Pranke Date: Fri, 9 Jul 2021 18:41:24 +0000 Subject: [PATCH] Get pylint-2.6 to work under vpython3 on Windows. This change fixes a minor issue in the pylint-2.6.bat wrapper script and adds a missing dependency on colorama. With these changes, it looks like pylint-2.6 will now work on Windows. Bug: 1157676 Change-Id: Ic23fc4cd04bf464034bf5471856fdfb646f66a75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3018262 Reviewed-by: Robbie Iannucci Commit-Queue: Dirk Pranke --- pylint-2.6 | 4 ++++ pylint-2.6.bat | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pylint-2.6 b/pylint-2.6 index 07b0b6806..d76504c16 100755 --- a/pylint-2.6 +++ b/pylint-2.6 @@ -38,6 +38,10 @@ # name: "infra/python/wheels/lazy-object-proxy/${vpython_platform}" # version: "version:1.4.3" # > +# wheel: < +# name: "infra/python/wheels/colorama-py3" +# version: "version:0.4.1" +# > # # # Pylint extensions. # diff --git a/pylint-2.6.bat b/pylint-2.6.bat index a6902f888..6e52cd96c 100644 --- a/pylint-2.6.bat +++ b/pylint-2.6.bat @@ -9,4 +9,4 @@ setlocal set PATH=%PATH%;%~dp0 :: Defer control. -vpython "%~dp0\pylint-2.6" %* +vpython3 "%~dp0\pylint-2.6" %*