Thread (15 messages) 15 messages, 2 authors, 2026-01-09

Re: [PATCH net-next v2 00/13] tools: ynl: clean up pylint issues

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-01-09 17:03:48
Also in: netdev

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Thu,  8 Jan 2026 16:13:26 +0000 you wrote:
pylint tools/net/ynl/pyynl reports >850 issues, with a rating of
8.59/10. It's hard to spot new issues or genuine code smells in all that
noise.

Fix the easily fixable issues and suppress the noisy warnings.

  pylint tools/net/ynl/pyynl
  ************* Module pyynl.ethtool
  tools/net/ynl/pyynl/ethtool.py:159:5: W0511: TODO: --show-tunnels        tunnel-info-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:160:5: W0511: TODO: --show-module         module-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:161:5: W0511: TODO: --get-plca-cfg        plca-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:162:5: W0511: TODO: --get-plca-status     plca-get-status (fixme)
  tools/net/ynl/pyynl/ethtool.py:163:5: W0511: TODO: --show-mm             mm-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:164:5: W0511: TODO: --show-fec            fec-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:165:5: W0511: TODO: --dump-module-eerpom  module-eeprom-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:166:5: W0511: TODO:                       pse-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:167:5: W0511: TODO:                       rss-get (fixme)
  tools/net/ynl/pyynl/ethtool.py:179:9: W0511: TODO: parse the bitmask (fixme)
  tools/net/ynl/pyynl/ethtool.py:196:9: W0511: TODO: parse the bitmask (fixme)
  tools/net/ynl/pyynl/ethtool.py:321:9: W0511: TODO: pass id? (fixme)
  tools/net/ynl/pyynl/ethtool.py:330:17: W0511: TODO: support passing the bitmask (fixme)
  tools/net/ynl/pyynl/ethtool.py:459:5: W0511: TODO: wol-get (fixme)

[...]
Here is the summary with links:
  - [net-next,v2,01/13] tools: ynl: pylint suppressions and docstrings
    https://git.kernel.org/netdev/net-next/c/37488ae6ceff
  - [net-next,v2,02/13] tools: ynl: fix pylint redefinition, encoding errors
    https://git.kernel.org/netdev/net-next/c/bcdd8ea73f75
  - [net-next,v2,03/13] tools: ynl: fix pylint exception warnings
    https://git.kernel.org/netdev/net-next/c/b6270a10b0f8
  - [net-next,v2,04/13] tools: ynl: fix pylint dict, indentation, long lines, uninitialised
    https://git.kernel.org/netdev/net-next/c/04b0b64e86b7
  - [net-next,v2,05/13] tools: ynl: fix pylint misc warnings
    https://git.kernel.org/netdev/net-next/c/542ba2de32fb
  - [net-next,v2,06/13] tools: ynl: fix pylint global variable related warnings
    https://git.kernel.org/netdev/net-next/c/00ef9f153ed8
  - [net-next,v2,07/13] tools: ynl: fix logic errors reported by pylint
    https://git.kernel.org/netdev/net-next/c/9b6b016df4c2
  - [net-next,v2,08/13] tools: ynl: ethtool: fix pylint issues
    https://git.kernel.org/netdev/net-next/c/301da4cfea5f
  - [net-next,v2,09/13] tools: ynl: fix pylint issues in ynl_gen_rst
    https://git.kernel.org/netdev/net-next/c/9a130471f854
  - [net-next,v2,10/13] tools: ynl-gen-c: suppress unhelpful pylint messages
    https://git.kernel.org/netdev/net-next/c/c2fa97c509ec
  - [net-next,v2,11/13] tools: ynl-gen-c: fix pylint warnings for returns, unused, redefined
    https://git.kernel.org/netdev/net-next/c/93ef84292959
  - [net-next,v2,12/13] tools: ynl-gen-c: fix pylint None, type, dict, generators, init
    https://git.kernel.org/netdev/net-next/c/a587f592d6c4
  - [net-next,v2,13/13] tools: ynl-gen-c: Fix remaining pylint warnings
    https://git.kernel.org/netdev/net-next/c/1ecc8ae876c4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help