Skip to content

Do several cleanups at scripts/xls_to_doc.py

Mauro Carvalho Chehab igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6scripts/xls_to_doc.py: use a main() functionscripts/xls_to_doc.py+25 -220 replies
2/6scripts/xls_to_doc.py: beautify its coding stylescripts/xls_to_doc.py+32 -240 replies
3/6scripts/xls_to_doc.py: cleanup argparse logicscripts/xls_to_doc.py+12 -140 replies
4/6scripts/xls_to_doc.py: fix issues with python < 3.7scripts/xls_to_doc.py+3 -20 replies
5/6scripts/xls_to_doc.py: document all functionsscripts/xls_to_doc.py+45 -20 replies
6/6scripts/xls_to_doc.py: don't be verbose by defaultscripts/xls_to_doc.py+22 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Mauro Carvalho Chehab <[email protected]>

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(-)
Signature · 1 line
2.43.2