mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] selftests: openvswitch: pylint cleanup of ovs-dpctl.py
@ 2026-09-05 10:40 Minxi Hou
  2026-09-05 10:40 ` [PATCH 1/4] selftests: openvswitch: convert %-formatting to f-strings Minxi Hou
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Minxi Hou @ 2026-09-05 10:40 UTC (permalink / raw)
  To: netdev
  Cc: aconole, davem, dev, echaudro, edumazet, i.maximets, kuba,
	linux-kernel, linux-kselftest, pabeni, shuah, horms, Minxi Hou

Clean up the ovs-dpctl.py selftest utility to pass pylint.  All
changes are mechanical style fixes with no behavior change; the full
openvswitch.sh selftest suite passes (17/17) on this tree.

The series fixes all pylint warnings except 10 remaining C0301
line-too-long warnings (81-89 columns) on f-string constructions
that match the surrounding style, bringing the score from 7.66/10
to 9.93/10:

  patch 1: convert %-formatting to f-strings (C0209)
  patch 2: fix miscellaneous warnings (unused imports/variables,
           bare except, superfluous parens, etc.)
  patch 3: add missing module/class/method docstrings
           (C0114/C0115/C0116)
  patch 4: suppress framework-inherent complexity warnings

Minxi Hou (4):
  selftests: openvswitch: convert %-formatting to f-strings
  selftests: openvswitch: fix misc pylint warnings in ovs-dpctl.py
  selftests: openvswitch: add missing docstrings in ovs-dpctl.py
  selftests: openvswitch: suppress pylint complexity warnings

 .../selftests/net/openvswitch/ovs-dpctl.py    | 425 ++++++++++--------
 1 file changed, 245 insertions(+), 180 deletions(-)


base-commit: 9eab111e765729e93087ff86a2ec9b2ae42d0fa5
-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-05 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 10:40 [PATCH net-next 0/4] selftests: openvswitch: pylint cleanup of ovs-dpctl.py Minxi Hou
2026-09-05 10:40 ` [PATCH 1/4] selftests: openvswitch: convert %-formatting to f-strings Minxi Hou
2026-09-05 10:40 ` [PATCH 2/4] selftests: openvswitch: fix misc pylint warnings in ovs-dpctl.py Minxi Hou
2026-09-05 10:40 ` [PATCH 3/4] selftests: openvswitch: add missing docstrings " Minxi Hou
2026-09-05 10:40 ` [PATCH 4/4] selftests: openvswitch: suppress pylint complexity warnings Minxi Hou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®