| #!/usr/bin/env vpython3 |
| # Copyright 2020 The Chromium OS 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] |
| # python_version: "3.8" |
| # |
| # # Third party dependencies. These are only listed because pylint itself needs |
| # # them. Feel free to add/remove anything here. |
| # |
| # 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: "chromiumos/infra/virtualenv/lazy_object_proxy/${vpython_platform}" |
| # version: "BZZ2lpKxOuUSSlCxtVkcaX705fzRPCLN3hqFrDrKUu4C" |
| # > |
| # wheel: < |
| # name: "chromiumos/infra/virtualenv/wrapt/${vpython_platform}" |
| # version: "BZKIIQkByohiOwQsEZzmhW0moGDOnOx2oh-xBd1pcCcC" |
| # > |
| # 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-py3" |
| # version: "version:0.2.1" |
| # > |
| # |
| # # Pylint dependencies. |
| # |
| # wheel: < |
| # name: "infra/python/wheels/astroid-py3" |
| # version: "version:2.3.3" |
| # > |
| # |
| # wheel: < |
| # name: "infra/python/wheels/pylint-py3" |
| # version: "version:2.4.4" |
| # > |
| # [VPYTHON:END] |
| |
| import sys |
| |
| from pylint import lint |
| |
| lint.Run(sys.argv[1:]) |