Commit Graph

3 Commits (main)

Author SHA1 Message Date
Josip Sokcevic d73d069a76 Run yapf with vpython3
R=ehmaldonado@chromium.org

Bug: 1197346
Change-Id: Ifc56ff316954eaa3c532b212371de57f8884ff97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2822446
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
4 years ago
Aiden Benner e47ac15d93 Fix git cl format --python on windows
git cl format --python currently breaks on windows
because FindExecutable('yapf') returns .../depot_tools/yapf
(a py file) instead of .../depot_tools/yapf.bat. Also
yapf.bat tries to run the yapf py file without vpython
which breaks the yapf dependency.

This CL fixes these two issues.


Bug:846432
Change-Id: I551a4c1e6367074fa76767851bd34feb2dcfb6a2
Reviewed-on: https://chromium-review.googlesource.com/c/1341236
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Aiden Benner <abenner@google.com>
6 years ago
Nodir Turakulov 081487b9fb Add yapf
Add yapf and yapf.bat with a vpython spec, so it can be used anywhere, e.g.
bots.

Change-Id: I363c0251ed766b2bb15a8c0f03615bc9a3ecb37a
Reviewed-on: https://chromium-review.googlesource.com/1107170
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
7 years ago