pylint: drop unversioned program
We want people to use specific pylint-$VER wrappers now to get stable behavior and make it easier to roll updates. This one is just a link to pylint-1.5 which uses Python 2. Anyone still linting Python 2 code should be using pylint-1.5 explicitly. Let's drop this to get it out of $PATH for developers who want pylint from their host system to "just work". Change-Id: I14411db7cddd0ecce40a370366c21f496166fe1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3780302 Commit-Queue: Mike Frysinger <vapier@chromium.org> Reviewed-by: Brian Ryner <bryner@google.com>changes/02/3780302/2
parent
2cd48234f1
commit
647cfe6bf1
@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) 2012 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.
|
||||
|
||||
# pylint -- a shell wrapper for pylint.
|
||||
|
||||
base_dir=$(dirname "$0")
|
||||
PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/pylint-1.5" "$@"
|
||||
@ -1,12 +0,0 @@
|
||||
@echo off
|
||||
:: Copyright 2019 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