commit | 4b5073de1c330743a89787f48e9f1b2cd09cc29b | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Thu Oct 15 20:34:05 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 15 20:34:05 2020 |
tree | ac2285e16f911dc6f9c7207774ae9ddb450e29f1 | |
parent | 1675a50c99322cf2f4d2914a7ba250ba429dd8e2 [diff] |
Refactor suffix handling in steps.py to reduce duplication. Change-Id: I8ada6ff02a83a6b7d501bc7e24c2ebfbb09d3112 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2472699 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Ben Pastene <bpastene@chromium.org> Commit-Queue: Garrett Beaty <gbeaty@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.