selftests: drv-net: stats: fix pylint issues
authorJakub Kicinski <kuba@kernel.org>
Fri, 20 Jun 2025 16:11:08 +0000 (09:11 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Jun 2025 00:06:25 +0000 (17:06 -0700)
commitca6a3faee66e6dc84f3d24fa1b1fa8b0628871e9
treefc9c2bfe0f74cfb270e8a8089a950a4ee3d78595
parent2f70ba1c0bf04349182ae209c8c69e1b71d4c0a8
selftests: drv-net: stats: fix pylint issues

Small adjustments to make pylint happy.

One warning about unused argument remains because the test uses
global variables rather than attaching netlink sockets to cfg.
Fixing this would be too much of a change for a linter fix commit
like this one.

Link: https://patch.msgid.link/20250620161109.2146242-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/stats.py