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

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Mar 13 07:56:03 UTC 2024


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