crosvm/tools
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
..
chromeos Curl with headers to get GCE metadata 2022-04-14 23:33:54 +00:00
contrib Add python presubmit checks 2022-04-15 19:22:53 +00:00
examples Reorganize usage doc and add example usage 2022-01-27 21:29:10 +00:00
impl Add python presubmit checks 2022-04-15 19:22:53 +00:00
windows Add python presubmit checks 2022-04-15 19:22:53 +00:00
aarch64vm Add python presubmit checks 2022-04-15 19:22:53 +00:00
bindgen-all-the-things virtio_sys: regenerate bindings 2022-04-11 21:14:01 +00:00
cargo-doc docs: Generate API docs only for first-party crates 2022-04-12 22:59:34 +00:00
clippy Add python presubmit checks 2022-04-15 19:22:53 +00:00
dev_container Add python presubmit checks 2022-04-15 19:22:53 +00:00
fmt Add python presubmit checks 2022-04-15 19:22:53 +00:00
health-check Add python presubmit checks 2022-04-15 19:22:53 +00:00
install-aarch64-deps Run some win64 tests with wine as part of presubmit 2022-04-06 19:45:49 +00:00
install-armhf-deps Run some win64 tests with wine as part of presubmit 2022-04-06 19:45:49 +00:00
install-deps Add python presubmit checks 2022-04-15 19:22:53 +00:00
install-docs-deps Reland "github: Minimize dependencies for document generation" 2022-04-12 22:30:10 +00:00
presubmit Add python presubmit checks 2022-04-15 19:22:53 +00:00
run_tests Add python presubmit checks 2022-04-15 19:22:53 +00:00
test_target Add python presubmit checks 2022-04-15 19:22:53 +00:00
x86vm Add python presubmit checks 2022-04-15 19:22:53 +00:00