commit | f73691ec5e658047ca41f2182398705009c45b3c | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Wed Aug 12 19:32:07 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 12 19:32:07 2020 |
tree | ae7c8b2910b6fb50b3bad1fc470294d9c7c3677e | |
parent | 3ba35f03379edddea4f5830e838935d32ede1978 [diff] |
Update README.md with correct git cl format invocation. Because we don't have clang format in the build tree, running 'git cl format' if proto files have been changed will error out. Passing the --no-clang-format flag prevents that. Change-Id: I437605474483df6e928293a7f3995e6283da699f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2352531 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Stephen Martinis <martiniss@chromium.org> Commit-Queue: Stephen Martinis <martiniss@chromium.org>
If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*
), please take a look at the README for more information pertaining to recipes.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores
, with the exception of the special functions RunSteps
and RunTests
in recipes. Use yapf (git cl format --no-clang-format
) to autoformat new code.