Commit 8533236d authored by Takuto Ikuta's avatar Takuto Ikuta Committed by LUCI CQ

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 <tikuta@chromium.org>
Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent adbef02c
...@@ -4926,7 +4926,7 @@ def CMDformat(parser, args): ...@@ -4926,7 +4926,7 @@ def CMDformat(parser, args):
if not yapf_style: if not yapf_style:
yapf_style = 'pep8' yapf_style = 'pep8'
cmd = [yapf_tool, '--style', yapf_style, f] cmd = [yapf_tool, '--parallel', '--style', yapf_style, f]
has_formattable_lines = False has_formattable_lines = False
if not opts.full: if not opts.full:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment