-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathblack-vpython
executable file
·56 lines (52 loc) · 1.35 KB
/
black-vpython
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env vpython3
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Pinned black version using vpython from Chromium's depot_tools."""
# 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.11"
#
# # Third party dependencies. These are only listed because pylint itself needs
# # them. Feel free to add/remove anything here.
#
# wheel: <
# name: "infra/python/wheels/click-py3"
# version: "version:8.0.3"
# >
# wheel: <
# name: "infra/python/wheels/mypy-extensions-py3"
# version: "version:0.4.3"
# >
# wheel: <
# name: "infra/python/wheels/packaging-py3"
# version: "version:24.1"
# >
# wheel: <
# name: "infra/python/wheels/pathspec-py3"
# version: "version:0.9.0"
# >
# wheel: <
# name: "infra/python/wheels/platformdirs-py3"
# version: "version:2.5.2"
# >
# wheel: <
# name: "infra/python/wheels/tomli-py3"
# version: "version:1.1.0"
# >
# wheel: <
# name: "infra/python/wheels/typing-extensions-py3"
# version: "version:4.0.1"
# >
#
# # Black itself.
#
# wheel: <
# name: "infra/python/wheels/black-py3"
# version: "version:23.1.0"
# >
#
# [VPYTHON:END]
# pylint: disable=import-error,no-name-in-module,unused-import
import black.__main__