tests/functional: tell pylint not to check c-modules
To fix: qemu-test.test_pylint "/home/alex/lsrc/qemu.git/tests/functional/arm/test_integratorcp.py:83: I1101: Module 'cv2' has no 'imread' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member)" Manually running python3 showed I could indeed import cv2 and call those functions. Rather than allowing pylint to introspect lets just tell it to skip c modules. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20260619155657.944220-5-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Alex Bennée committed
Jun 19, 2026 at 16:56 UTC
dd14a21b9dc1ebecd7a4d3135c5e2318a2250adb
1 file changed
+1
tests/functional/pylintrc
+1
@@ -58,6 +58,7 @@ confidence=HIGH,
58
# no Warning level messages displayed, use "--disable=all --enable=classes
59
# --disable=W".
60
disable=bad-inline-option,
61
+ c-extension-no-member,
62
consider-using-f-string,
63
file-ignored,
64
fixme,