[libvirt PATCH 0/2] Fix some typos and spelling mistakes

Ján Tomko jtomko at redhat.com
Wed Apr 14 18:05:10 UTC 2021


On a Wednesday in 2021, Tim Wiederhake wrote:
>Found by codespell [1].
>
>It would be nice to automate this, but I could not get codespell to
>also check code comments,

You can automate the spellchecking, but sometimes typos are included in
sentences that should be rewritten completely - you cannot (yet?)
automatically check for that.

Also, checking comments outside of public APIs is not that important - the
code will usually be harder to read than the comment with a typo.

>and ran into a known issue [2] with codespell
>that prevents putting some terms with mixed letter cases on the skip list.
>

With false positives and no way to silence the warnings, I'm afraid the
automation would not be useful.

Jano

>[1] https://github.com/codespell-project/codespell
>[2] https://github.com/codespell-project/codespell/issues/1860
>
>Tim Wiederhake (2):
>  Fix spelling
>  virlog: Remove stray "todo" in comment
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210414/d5a2fa9d/attachment-0001.sig>


More information about the libvir-list mailing list