[PATCH i-g-t 0/6] Do several cleanups at scripts/xls_to_doc.py

Piecielska, Katarzyna katarzyna.piecielska at intel.com
Wed Mar 13 11:04:37 UTC 2024


LGTM 😊
For all patches in series: Reviewed-by: Katarzyna Piecielska <katarzyna.piecielska at intel.com>

Thanks,
Kasia

-----Original Message-----
From: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com> 
Sent: Wednesday, March 13, 2024 8:56 AM
To: igt-dev at lists.freedesktop.org
Cc: Piecielska, Katarzyna <katarzyna.piecielska at intel.com>
Subject: [PATCH i-g-t 0/6] Do several cleanups at scripts/xls_to_doc.py

From: Mauro Carvalho Chehab <mchehab at kernel.org>

Change the logic to use a main() function, helping its class to be called on other modules. While here, address coding style issues, do some sanity cleanups and reduce its default verbosity level.

Make pylint happier with it.

Mauro Carvalho Chehab (6):
  scripts/xls_to_doc.py: use a main() function
  scripts/xls_to_doc.py: beautify its coding style
  scripts/xls_to_doc.py: cleanup argparse logic
  scripts/xls_to_doc.py: fix issues with python < 3.7
  scripts/xls_to_doc.py: document all functions
  scripts/xls_to_doc.py: don't be verbose by default

 scripts/xls_to_doc.py | 155 ++++++++++++++++++++++++++++++------------
 1 file changed, 110 insertions(+), 45 deletions(-)

--
2.43.2



More information about the igt-dev mailing list