commit | ba70002136df7d609682c3933340da8afeec04ce | [log] [tgz] |
---|---|---|
author | Xinyu Yang <xinyuoffline@google.com> | Tue Dec 01 20:12:18 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 01 20:12:18 2020 |
tree | b6fde4e7b274584b57ae532d5a2a6979bfb0483b | |
parent | cac691ac3d36ffb4934a0c48f0b5f5eea39b1d38 [diff] |
[rubber-stamper] Add Bot-Commit, Owners-Override label. Bug: 1092603 Change-Id: I1eb5587aafe863b7c00215513df35fc4a12dcadc Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2567487 Commit-Queue: Xinyu Yang <xinyuoffline@google.com> Reviewed-by: Yulan Lin <yulanlin@google.com> Reviewed-by: Jason Clinton <jclinton@chromium.org> Cr-Commit-Position: refs/heads/master@{#36798}
Testing Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.