crosvm/tools/impl
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
..
dev_container Add python presubmit checks 2022-04-15 19:22:53 +00:00
testvm Make aarch64 vm usable for running armhf binaries. 2021-12-09 01:08:45 +00:00
__init__.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
bindgen-common.sh tools/bindgen-all-the-things: add script to regenerate bindings 2022-03-03 23:47:03 +00:00
check_code_hygiene.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
common.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
test_config.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
test_runner.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
test_target.py Add python presubmit checks 2022-04-15 19:22:53 +00:00
testvm.py Add python presubmit checks 2022-04-15 19:22:53 +00:00