commit | e6b72e4c6bae42100d5815dd9a2b6536ee0a2b11 | [log] [tgz] |
---|---|---|
author | Yulan Lin <yulanlin@google.com> | Fri Dec 11 23:34:44 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 11 23:34:44 2020 |
tree | c6f4f7430d50f5127409a06ac011f377829f750b | |
parent | a3030e80006a895503d8d1f5f72b2f3b3f40c40e [diff] |
[rubber-stamper] allow ** to match all paths in a repo Bug: 1092603 Change-Id: I7b0924af57cc772572d42dafee31c8cbf4d73c6c Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2587538 Reviewed-by: Jason Clinton <jclinton@chromium.org> Commit-Queue: Yulan Lin <yulanlin@google.com> Cr-Commit-Position: refs/heads/master@{#37047}
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.