Add an option to specify pylint version
This allows us to migrate PRESUBMIT.py files over to pylint-2.6 bit by bit. It also allows us to support and upgrade pylint to newer versions in the future. Bug: 1221143 Fixed: 1221143 Change-Id: I9af96f5f06caf48e9923ad5fae75b98a0a7aeb49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2994723 Commit-Queue: Peter Wen <wnwen@chromium.org> Auto-Submit: Peter Wen <wnwen@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com>changes/23/2994723/9
parent
6b08432689
commit
866be0f290
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
:: Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
:: Use of this source code is governed by a BSD-style license that can be
|
||||
:: found in the LICENSE file.
|
||||
setlocal
|
||||
|
||||
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
||||
:: standalone, but allow other PATH manipulations to take priority.
|
||||
set PATH=%PATH%;%~dp0
|
||||
|
||||
:: Defer control.
|
||||
vpython "%~dp0\pylint-1.5" %*
|
Loading…
Reference in New Issue