From 8533236d093cba94c9b52d8821ab8dd781c12d5b Mon Sep 17 00:00:00 2001 From: Takuto Ikuta Date: Thu, 23 Apr 2020 21:20:30 +0000 Subject: [PATCH] git_cl: add --parallel for yapf see https://github.com/google/yapf#usage Bug: 1073708 Change-Id: I09a327e44bfcf5cf9a59c4e8d470a8886fc9f44b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2163086 Auto-Submit: Takuto Ikuta Reviewed-by: Edward Lesmes Commit-Queue: Edward Lesmes --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index fadf1c93fd..6c0c280f10 100755 --- a/git_cl.py +++ b/git_cl.py @@ -4926,7 +4926,7 @@ def CMDformat(parser, args): if not yapf_style: yapf_style = 'pep8' - cmd = [yapf_tool, '--style', yapf_style, f] + cmd = [yapf_tool, '--parallel', '--style', yapf_style, f] has_formattable_lines = False if not opts.full: