From 647cfe6bf10efa3e171bed867a455347567007c7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 25 Jul 2022 04:21:28 +0000 Subject: [PATCH] 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 Reviewed-by: Brian Ryner --- pylint | 9 --------- pylint.bat | 12 ------------ 2 files changed, 21 deletions(-) delete mode 100755 pylint delete mode 100644 pylint.bat diff --git a/pylint b/pylint deleted file mode 100755 index 619f28ee0f..0000000000 --- a/pylint +++ /dev/null @@ -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" "$@" diff --git a/pylint.bat b/pylint.bat deleted file mode 100644 index 0ffc277bfc..0000000000 --- a/pylint.bat +++ /dev/null @@ -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" %*