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

Tim Wiederhake twiederh at redhat.com
Mon Jan 10 15:41:24 UTC 2022

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.


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


More information about the libvir-list mailing list