On 05/01/2024 09.38, Zhao Liu wrote:
From: Zhao Liu <zhao1....@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...@intel.com>
Tested-by: Samuel Tardieu <s...@rfc1149.net>
Signed-off-by: Zhao Liu <zhao1....@intel.com>

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

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



Reply via email to