mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 02:31:29 +00:00
Leave the recipes/ code at 2 space to match the rest of the recipes
project in other repos.
Reformatted using:
files=( $(
git ls-tree -r --name-only HEAD | \
grep -Ev -e '^(third_party|recipes)/' | \
grep '\.py$';
git grep -l '#!/usr/bin/env.*python' | grep -v '\.py$'
) )
parallel ./yapf -i -- "${files[@]}"
~/chromiumos/chromite/contrib/reflow_overlong_comments "${files[@]}"
The files that still had strings that were too long were manually
reformatted because they were easy and only a few issues.
autoninja.py
clang_format.py
download_from_google_storage.py
fix_encoding.py
gclient_utils.py
git_cache.py
git_common.py
git_map_branches.py
git_reparent_branch.py
gn.py
my_activity.py
owners_finder.py
presubmit_canned_checks.py
reclient_helper.py
reclientreport.py
roll_dep.py
rustfmt.py
siso.py
split_cl.py
subcommand.py
subprocess2.py
swift_format.py
upload_to_google_storage.py
These files still had lines (strings) that were too long, so the pylint
warnings were suppressed with a TODO.
auth.py
gclient.py
gclient_eval.py
gclient_paths.py
gclient_scm.py
gerrit_util.py
git_cl.py
presubmit_canned_checks.py
presubmit_support.py
scm.py
Change-Id: Ia6535c4f2c48d46b589ec1e791dde6c6b2ea858f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4836379
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
73 lines
1.6 KiB
Groff
Executable File
73 lines
1.6 KiB
Groff
Executable File
#!/usr/bin/env vpython3
|
|
# 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.
|
|
# python_version: "3.8"
|
|
#
|
|
# 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/mccabe-py2_py3"
|
|
# version: "version:0.6.1"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/six-py2_py3"
|
|
# version: "version:1.15.0"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/toml-py3"
|
|
# version: "version:0.10.1"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/wrapt/${vpython_platform}"
|
|
# version: "version:1.12.1"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/lazy-object-proxy/${vpython_platform}"
|
|
# version: "version:1.4.3"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/colorama-py3"
|
|
# version: "version:0.4.1"
|
|
# >
|
|
#
|
|
# # 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.5.3"
|
|
# >
|
|
# wheel: <
|
|
# name: "infra/python/wheels/pylint-py3"
|
|
# version: "version:2.7.4"
|
|
# >
|
|
#
|
|
# [VPYTHON:END]
|
|
|
|
import sys
|
|
|
|
import pylint_main
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(pylint_main.main(sys.argv[1:]))
|