diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-09 14:52:46 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-09 15:59:13 -0500 |
commit | 3a2b6ba5cf1ad46e3684ee0c4175b3ea8d7c1280 (patch) | |
tree | 65a2dd26fe8f58c59916ddd0cd2ee477ac674646 /test/py/tests/test_ut.py | |
parent | e54987d6af3bcf20c8270bef16c63f50698d03f4 (diff) |
test/py: Disable error E0611 in two cases for pylint
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@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py/tests/test_ut.py')
-rw-r--r-- | test/py/tests/test_ut.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py index 1d9149a3f6..0e3a48e73f 100644 --- a/test/py/tests/test_ut.py +++ b/test/py/tests/test_ut.py @@ -9,6 +9,7 @@ import os.path import pytest import u_boot_utils +# pylint: disable=E0611 from tests import fs_helper def mkdir_cond(dirname): |