Files
chromium_depot_tools/pylint-1.8
Mike Frysinger 198b562986 pylint: make pylint-quotes available
We load it, but disable all the warnings by default.  People can
re-enable the warnings for their modules if they want, but there
is way too much broken code in the tree currently.

Bug: 738534
Test: ran each pylint version by hand on some bad code
Change-Id: Ia5b24093f18febd452f4c1eed6e82044544161bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1958849
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
2019-12-09 23:25:20 +00:00

79 lines
1.8 KiB
Groff
Executable File

#!/usr/bin/env vpython
# 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.
# Note: We use tags here instead of refs because refs will always hit the
# network to see if there are any updates.
# [VPYTHON:BEGIN]
# # Third party dependencies. These are only listed because pylint itself needs
# # them. Feel free to add/remove anything here.
#
# wheel: <
# name: "infra/python/wheels/configparser-py2_py3"
# version: "version:3.5.0"
# >
# wheel: <
# name: "infra/python/wheels/futures-py2_py3"
# version: "version:3.1.1"
# >
# wheel: <
# name: "infra/python/wheels/isort-py2_py3"
# version: "version:4.3.4"
# >
# wheel: <
# name: "infra/python/wheels/wrapt/${vpython_platform}"
# version: "version:1.10.11"
# >
# wheel: <
# name: "infra/python/wheels/backports_functools_lru_cache-py2_py3"
# version: "version:1.5"
# >
# wheel: <
# name: "infra/python/wheels/lazy-object-proxy/${vpython_platform}"
# version: "version:1.3.1"
# >
# wheel: <
# name: "infra/python/wheels/singledispatch-py2_py3"
# version: "version:3.4.0.3"
# >
# wheel: <
# name: "infra/python/wheels/enum34-py2"
# version: "version:1.1.6"
# >
# wheel: <
# name: "infra/python/wheels/mccabe-py2_py3"
# version: "version:0.6.1"
# >
# wheel: <
# name: "infra/python/wheels/six-py2_py3"
# version: "version:1.10.0"
# >
#
# # Pylint extensions.
#
# wheel: <
# name: "infra/python/wheels/pylint-quotes-py2_py3"
# version: "version:0.1.8"
# >
#
# # Pylint dependencies.
#
# wheel: <
# name: "infra/python/wheels/astroid-py2_py3"
# version: "version:1.6.6"
# >
#
# wheel: <
# name: "infra/python/wheels/pylint-py2_py3"
# version: "version:1.8.4-45a720817e4de1df2f173c7e4029e176"
# >
# [VPYTHON:END]
import sys
import pylint_main
sys.exit(pylint_main.main(sys.argv[1:]))