[PATCH v3 0/2] Fix checktransupdate.py and add help documents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set fixes all the issues in the checktransupdate.py reported
by pylint, and add help documents in both English and Chinese.

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

-- 
2.43.0





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux