commit | e261867e79673ff611268c8bf8b9242129e5c768 | [log] [tgz] |
---|---|---|
author | Gregory NISBET <gregorynisbet@google.com> | Sat Apr 27 16:10:45 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Apr 27 16:10:45 2024 |
tree | 8bd4a348ffb6e90c9b49d852bc63e8b05fe523a7 | |
parent | a5e9f5e0517d3695dea241cc80dbd8eaf712f011 [diff] |
[fleetcost] Implement location and type filters on the server side. Provide the server side implementation of location and type filtering. BUG=b:335710807 TEST=make test Change-Id: I0e9561bba8da47059c6c230972c4aa4a9057b42a Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5484129 Reviewed-by: Garry Wang <xianuowang@chromium.org> Commit-Queue: Gregory Nisbet <gregorynisbet@google.com> Cr-Commit-Position: refs/heads/main@{#64845}
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.