commit | 4339da1d347a979e3faf3991201097d02664a5c9 | [log] [tgz] |
---|---|---|
author | Congbin Guo <guocb@google.com> | Mon Nov 13 23:53:38 2023 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 13 23:53:38 2023 |
tree | d82cc042a4112470e26261ca1e238d211127e90b | |
parent | 05d35431fb8f88a244e0947ba0b3ff501f656f1b [diff] |
feat(caching): the init code of backend scanner In this CL, we created a framework code for the backend scanner which doesn't do anything real yet. BUG=b:310002629 TEST=cloud build Change-Id: I471283275736294657e6f8b43fddf7f8906bff7d Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5019116 Commit-Queue: Congbin Guo <guocb@chromium.org> Auto-Submit: Congbin Guo <guocb@chromium.org> Reviewed-by: Otabek Kasimov <otabek@google.com> Cr-Commit-Position: refs/heads/main@{#61178}
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.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.