commit | 137053ea7e31265432b0cb6ca2bfe1c7def49e37 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Wed Mar 31 00:51:51 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 31 00:51:51 2021 |
tree | a94db7f7ce00a8732edeedb7bd2b6a73b9f6c948 | |
parent | ba8f249b42d9dbdbcaeac414db44400e0b7c14af [diff] |
Remove *_attrib functions. These functions can be replaced via the use of the constraint methods, which provide more flexibility and functionality. Change-Id: Ie54be91dc639d420570a17f5e7f158e579f7a856 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2792050 Commit-Queue: Garrett Beaty <gbeaty@chromium.org> Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: 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.