diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-10-03 09:47:48 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-07 12:12:44 +0200 |
commit | b615879dbfea6cf1236acbc3f2fb25ae84e07071 (patch) | |
tree | e952c4015a33c1d6c7a95a825b529c85e6d94f4a /tools/docs/parse-headers.py | |
parent | c9d1b0b54258ba13b567dd116ead3c7c30cba7d8 (diff) |
selftests: drv-net: make linters happy with our imports
Linters are still not very happy with our __init__ files,
which was pointed out in recent review (see Link).
We have previously started importing things one by one to
make linters happy with the test files (which import from __init__).
But __init__ file itself still makes linters unhappy.
To clean it up I believe we must completely remove the wildcard
imports, and assign the imported modules to __all__.
hds.py needs to be fixed because it seems to be importing
the Python standard random from lib.net.
We can't use ksft_pr() / ktap_result() in case importing
from net.lib fails. Linters complain that those helpers
themselves may not have been imported.
Link: https://lore.kernel.org/9d215979-6c6d-4e9b-9cdd-39cff595866e@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20251003164748.860042-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions