summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/lib/py/load.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-11-19 18:10:13 -0800
committerJakub Kicinski <kuba@kernel.org>2025-11-20 18:19:28 -0800
commit5cb7b71b76f1235ee2064c30922864f24e31a076 (patch)
tree3eeb4373f08f739b59ba1981067efec8475ffa39 /tools/testing/selftests/drivers/net/lib/py/load.py
parentd99b408ed8e5f7c070274f4d6c73023b2aae22b3 (diff)
selftests: net: py: coding style improvements
We're about to add more features here and finding new issues with old ones in place is hard. Address ruff checks: - bare exceptions - f-string with no params - unused import We need to use BaseException when handling defer(), as Petr points out. This retains the old behavior of ignoring SIGTERM while running cleanups. Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/20251120021024.2944527-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/load.py')
0 files changed, 0 insertions, 0 deletions