crosvm/ci/kokoro
Dennis Kempin ba4adc0efb Add python presubmit checks
This change adds python type and formatting checks and
consolidates code health checks in ./tools/health-check.

Dealing with relative imports in python is tricky, so
we are making ./tools/impl a proper package with no
directly executable files.

Some of the bash shorthands in ./tools had to be converted
to python for this.

To make the new checks pass, we run the formatter and fix
some mypy type checks.

TEST=./tools/health-check
BUG=b:218559722,b:219965702

Change-Id: Ie18d3d6dd2f5a033141e167a6e1aa762791941d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3558592
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-04-15 19:22:53 +00:00
..
windows Add python presubmit checks 2022-04-15 19:22:53 +00:00
build-aarch64.sh dev_container: Preserve container between calls 2021-11-19 20:09:39 +00:00
build-armhf.sh Enable some tests for armhf builds 2021-12-14 18:11:32 +00:00
build-merge-into-chromeos.sh merge bot: Skip installing python version if it exists already 2022-04-14 22:23:43 +00:00
build-push-to-github.sh ci: kokoro: push-to-github: Use git push --all instead of --mirror 2021-10-20 16:06:04 +00:00
build-x86_64.sh Add python presubmit checks 2022-04-15 19:22:53 +00:00
common.cfg Kokoro: Extensive polishing and bugfixing 2021-02-10 22:04:43 +00:00
common.sh ci/kokoro: improve error checking 2022-03-25 00:33:06 +00:00
continuous-aarch64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
continuous-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
continuous-x86_64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
merge-into-chromeos.cfg kokoro: Various fixes to merge-into-chromeos job 2021-12-07 20:50:29 +00:00
presubmit-cq-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cq-armhf.cfg Enable some tests for armhf builds 2021-12-14 18:11:32 +00:00
presubmit-cq-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
presubmit-cr-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
push-to-github.cfg Add push-to-github kokoro config and script 2021-10-18 21:37:58 +00:00
simulate.py Add python presubmit checks 2022-04-15 19:22:53 +00:00