commit | b9be2f8216e2fdea3a8266721179d6d4f3c2f289 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Fri Nov 06 18:56:47 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 06 18:56:47 2020 |
tree | 4f85d7457b0ca240d6dd65c7f83b314fa83adb84 | |
parent | 39a66442c50930925aeab171b4de23a9f6033953 [diff] |
Rename variables in generators.py. To account for a later change where test specs are being returned by the generators, renaming the variables makes it more clear what the format of data being held by each variable is. Bug: 1128746 Change-Id: I11ae632422caa79d0ead58aebba83e7fde90f454 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2518341 Commit-Queue: 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.