aboutsummaryrefslogtreecommitdiff
path: root/toolchain_utils_githooks/check-presubmit.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2021-03-08 19:25:52 -0500
committerCommit Bot <commit-bot@chromium.org>2021-04-12 22:02:58 +0000
commit529f4563821c370765a0d3c1898fcf8e324c0dd7 (patch)
treee06429fdd7a06746d06aea67820afa3f9ce078c8 /toolchain_utils_githooks/check-presubmit.py
parent054e7e5184e74ce5f202e7e4fa4fcee5d4dc8999 (diff)
downloadtoolchain-utils-529f4563821c370765a0d3c1898fcf8e324c0dd7.tar.gz
PRESUBMIT.cfg: drop --py3 to cros lint
This is the default now. BUG=chromium:1006448 TEST=CQ passes Change-Id: I02dbbd47e35ad0a58da47fa94ef2e192e21cfcb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2743738 Tested-by: Mike Frysinger <vapier@chromium.org> Auto-Submit: Mike Frysinger <vapier@chromium.org> Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'toolchain_utils_githooks/check-presubmit.py')
-rwxr-xr-xtoolchain_utils_githooks/check-presubmit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain_utils_githooks/check-presubmit.py b/toolchain_utils_githooks/check-presubmit.py
index 274a75f4..99500acd 100755
--- a/toolchain_utils_githooks/check-presubmit.py
+++ b/toolchain_utils_githooks/check-presubmit.py
@@ -244,7 +244,7 @@ def check_cros_lint(
# pylint+golint.
def try_run_cros_lint(cros_binary: str) -> t.Optional[CheckResult]:
exit_code, output = run_command_unchecked(
- [cros_binary, 'lint', '--py3', '--'] + files,
+ [cros_binary, 'lint', '--'] + files,
toolchain_utils_root,
env=fixed_env)