qemu-trivial
[Top][All Lists]
Advanced

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

Re: [PATCH v3] scripts/checkpatch: Support codespell checking


From: Thomas Huth
Subject: Re: [PATCH v3] scripts/checkpatch: Support codespell checking
Date: Thu, 11 Jan 2024 09:52:46 +0100
User-agent: Mozilla Thunderbird

On 05/01/2024 09.38, Zhao Liu wrote:
From: Zhao Liu <zhao1.liu@intel.com>

Add two spelling check options (--codespell and --codespellfile) to
enhance spelling check through dictionary, which copied the Linux
kernel's implementation in checkpatch.pl.

This check uses the dictionary at "/usr/share/codespell/dictionary.txt"
by default, if there is no dictionary specified under this path, it
will look for the dictionary of python3's codespell (This requires user
to add python3's path in environment variable $PATH, and to install
codespell by "pip install codespell").

Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Tested-by: Samuel Tardieu <sam@rfc1149.net>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>

Tested-by: Thomas Huth <thuth@redhat.com>

Thanks, I'll add it to my next pull request.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]