commit | 7ebcedcddf3bddfd446f838fb7be7b66fefb063e | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <yiwzhang@google.com> | Fri Jun 14 22:43:09 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 14 22:43:09 2024 |
tree | 66a6f1e06305cfc69cbb5bae43f134ff2ce0d85f | |
parent | d6d347afd92a09a43345e549b733ccdde012f68c [diff] |
package_index: allow chromeos project Also fixed the deprecation warning for ioutil. Bug: b/346352545 Change-Id: I57b98e7611c3e93d21df373438a570267e64140f Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5632226 Commit-Queue: Yiwei Zhang <yiwzhang@google.com> Auto-Submit: Yiwei Zhang <yiwzhang@google.com> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Cr-Commit-Position: refs/heads/main@{#66245}
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.