[libvirt PATCH v2 0/3] ci: Check spelling

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

 



This is a wrapper for codespell [1], a spell checker for source code.
Codespell does not compare words to a dictionary, but rather works by
checking words against a list of common typos, making it produce fewer
false positives than other solutions.

The script in this patch works around the lack of per-directory ignore
lists and some oddities regarding capitalization in ignore lists.

[1] (https://github.com/codespell-project/codespell/)

V1: https://listman.redhat.com/archives/libvir-list/2021-October/msg00015.html
The wrapper script changed since it was Reviewed-by: Ján, hence I did not mark
patch #2 as already reviewed.

Regards,
Tim

Tim Wiederhake (3):
  scripts: Check spelling
  ci: Add spell checking
  Fix some typos

 .gitlab-ci.yml                    |  12 +++
 scripts/check-spelling.py         | 119 ++++++++++++++++++++++++++++++
 src/qemu/qemu_cgroup.c            |   2 +-
 tests/qemucapabilitiesnumbering.c |   2 +-
 tests/qemucapabilitiestest.c      |   4 +-
 5 files changed, 135 insertions(+), 4 deletions(-)
 create mode 100755 scripts/check-spelling.py

-- 
2.31.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux