On 2024/7/19 12:13, Dongliang Mu wrote:
This patch set fixes all the issues in the checktransupdate.py reported by pylint, and add help documents in both English and Chinese.
It seems to-cmd and cc-cmd cannot handle cover letter. Forward by hand.
v3: 1) fixes all the issues (not most) reported by pylint, 2) add the functionability to tackle documents that need translation, 3) add logging to adjust the logging level and log file 4) fix some issues by Yanteng and Jani v2: fix some issues according to Randy v1: This patch fixes most issues with the following contents: - add or revise comments for all functions - use format string suggested by python Add help documentation of scripts/checktransupdate.py Dongliang Mu (2): scripts: fix all issues reported by pylint doc-guide: add help documentation checktransupdate.rst Documentation/doc-guide/checktransupdate.rst | 53 +++++ Documentation/doc-guide/index.rst | 1 + .../zh_CN/doc-guide/checktransupdate.rst | 55 +++++ .../translations/zh_CN/doc-guide/index.rst | 1 + scripts/checktransupdate.py | 214 ++++++++++++------ 5 files changed, 251 insertions(+), 73 deletions(-) create mode 100644 Documentation/doc-guide/checktransupdate.rst create mode 100644 Documentation/translations/zh_CN/doc-guide/checktransupdate.rst