aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-09 14:52:46 -0500
committerTom Rini <trini@konsulko.com>2023-12-10 09:20:16 -0500
commitffbc489cdf7d714cf3ce7a55a9f84e7ef6021ebb (patch)
treeee996d10e34f5442b144c2f0e8b3a272b4173596
parentd379150621a5dbe7929b43d184cb51bb8c3ec4cb (diff)
downloadu-boot-ffbc489cdf7d714cf3ce7a55a9f84e7ef6021ebb.zip
u-boot-ffbc489cdf7d714cf3ce7a55a9f84e7ef6021ebb.tar.gz
u-boot-ffbc489cdf7d714cf3ce7a55a9f84e7ef6021ebb.tar.bz2
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>
-rw-r--r--test/py/tests/test_fs/conftest.py1
-rw-r--r--test/py/tests/test_ut.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py
index fdd138d..fca5448 100644
--- a/test/py/tests/test_fs/conftest.py
+++ b/test/py/tests/test_fs/conftest.py
@@ -9,6 +9,7 @@ import re
from subprocess import call, check_call, check_output, CalledProcessError
from fstest_defs import *
import u_boot_utils as util
+# pylint: disable=E0611
from tests import fs_helper
supported_fs_basic = ['fat16', 'fat32', 'ext4']
diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py
index 1d9149a..0e3a48e 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):