commit | 0090f3fa7830189d3a324d8467d4f47db8d79851 | [log] [tgz] |
---|---|---|
author | Brian Ryner <bryner@google.com> | Wed Apr 24 04:59:21 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 24 04:59:21 2024 |
tree | 9f5619e9d04954590b0089ae6350906c5905dd02 | |
parent | f52075401053aeae8dfddcfefa41d18a05782fda [diff] |
Switch the vpython package to vpython3 for 3pp package verify scripts. Tested with run_locally.sh on the packages that use verify scripts. Change-Id: Ia7abc523a92718e9319f75939a80baf2a6c1c511 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5472563 Commit-Queue: Chenlin Fan <fancl@chromium.org> Auto-Submit: Brian Ryner <bryner@google.com> Reviewed-by: Chenlin Fan <fancl@chromium.org> Cr-Commit-Position: refs/heads/main@{#64752}
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.