pylint-1.7 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #!/usr/bin/env vpython
  2. # Copyright 2019 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. # Note: We use tags here instead of refs because refs will always hit the
  6. # network to see if there are any updates.
  7. # [VPYTHON:BEGIN]
  8. # # Third party dependencies. These are only listed because pylint itself needs
  9. # # them. Feel free to add/remove anything here.
  10. #
  11. # wheel: <
  12. # name: "infra/python/wheels/configparser-py2_py3"
  13. # version: "version:3.5.0"
  14. # >
  15. # wheel: <
  16. # name: "infra/python/wheels/futures-py2_py3"
  17. # version: "version:3.1.1"
  18. # >
  19. # wheel: <
  20. # name: "infra/python/wheels/isort-py2_py3"
  21. # version: "version:4.3.4"
  22. # >
  23. # wheel: <
  24. # name: "infra/python/wheels/wrapt/${vpython_platform}"
  25. # version: "version:1.10.11"
  26. # >
  27. # wheel: <
  28. # name: "infra/python/wheels/backports_functools_lru_cache-py2_py3"
  29. # version: "version:1.5"
  30. # >
  31. # wheel: <
  32. # name: "infra/python/wheels/lazy-object-proxy/${vpython_platform}"
  33. # version: "version:1.3.1"
  34. # >
  35. # wheel: <
  36. # name: "infra/python/wheels/singledispatch-py2_py3"
  37. # version: "version:3.4.0.3"
  38. # >
  39. # wheel: <
  40. # name: "infra/python/wheels/enum34-py2"
  41. # version: "version:1.1.6"
  42. # >
  43. # wheel: <
  44. # name: "infra/python/wheels/mccabe-py2_py3"
  45. # version: "version:0.6.1"
  46. # >
  47. # wheel: <
  48. # name: "infra/python/wheels/six-py2_py3"
  49. # version: "version:1.10.0"
  50. # >
  51. #
  52. # # Pylint dependencies.
  53. #
  54. # wheel: <
  55. # name: "infra/python/wheels/astroid-py2_py3"
  56. # version: "version:1.5.3"
  57. # >
  58. #
  59. # wheel: <
  60. # name: "infra/python/wheels/pylint-py2_py3"
  61. # version: "version:1.7.6"
  62. # >
  63. # [VPYTHON:END]
  64. import sys
  65. import pylint_main
  66. sys.exit(pylint_main.main(sys.argv[1:]))