mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-18 19:09:15 +00:00
0dc3634b7b
This lint disallows asserttions on is_ok()/is_err() in favor of either using unwrap (so that at least if the test fails, we the failure message will contain the actual failure reason instead of just "was not ok/err"), or actually matching the specific variant. Inspired by and quoted from @roypat. Enable this lint for `build.yaml` and `quality.yaml`. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn> |
||
---|---|---|
.. | ||
audit.yaml | ||
build.yaml | ||
dco.yaml | ||
docker-image.yaml | ||
formatting.yaml | ||
fuzz-build.yaml | ||
gitlint.yaml | ||
hadolint.yaml | ||
integration-arm64.yaml | ||
integration-metrics.yaml | ||
integration-rate-limiter.yaml | ||
integration-vfio.yaml | ||
integration-windows.yaml | ||
integration-x86-64.yaml | ||
openapi.yaml | ||
quality.yaml | ||
release.yaml | ||
reuse.yaml | ||
shlint.yaml | ||
taplo.yaml |