Thread (29 messages) 29 messages, 4 authors, 2025-06-20

Re: [PATCH v4 06/14] scripts: lib: netlink_yml_parser.py: use classes

From: Donald Hunter <donald.hunter@gmail.com>
Date: 2025-06-14 14:11:24
Also in: linux-doc, linux-kernel-mentees, lkml

On Sat, 14 Jun 2025 at 09:56, Mauro Carvalho Chehab
[off-list ref] wrote:
As we'll be importing netlink parser into a Sphinx extension,
move all functions and global variables inside two classes:

- RstFormatters, containing ReST formatter logic, which are
  YAML independent;
- NetlinkYamlParser: contains the actual parser classes. That's
Please update the commit description to match the code.
  the only class that needs to be imported by the script or by
  a Sphinx extension.

With that, we won't pollute Sphinx namespace, avoiding any
potential clashes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help