[PATCH] test/py: Disable error E0611 in two cases for pylint

Tom Rini trini at konsulko.com
Sat Dec 9 21:59:44 CET 2023


On Sat, Dec 09, 2023 at 03:01:28PM -0500, Tom Rini wrote:

> Recently pylint has started to complain about:
> No name 'fs_helper' in module 'tests' (no-name-in-module)
> 
> Due to:
> from tests import fs_helper
> 
> However, we have:
> test/py/tests/fs_helper.py
> 
> And since we do not want to add a dummy test/py/tests/__init__.py to
> silence this warning we instead just disable it as needed.
> 
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master and u-boot/next, to unbreak CI now, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231209/89630b05/attachment.sig>


More information about the U-Boot mailing list