On Fri, Jun 12, 2026 at 03:05:31PM +0100, Alex Bennée wrote:
> 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.
> 
> Signed-off-by: Alex Bennée <[email protected]>
> ---
>  tests/functional/pylintrc | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|


Reply via email to