diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2024-01-05 16:38:48 +0800 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-01-11 14:13:07 +0100 |
commit | e072af19fc06b18065f5081ff71cc7b2e6dca7bf (patch) | |
tree | 89f0e34d426970dd3f4b5ff3190872af524b5d90 /include/hw/misc/stm32l4x5_exti.h | |
parent | 7af0cc147ce6394bed3ac7546c6c5ef82eac3bd6 (diff) | |
download | qemu-e072af19fc06b18065f5081ff71cc7b2e6dca7bf.zip qemu-e072af19fc06b18065f5081ff71cc7b2e6dca7bf.tar.gz qemu-e072af19fc06b18065f5081ff71cc7b2e6dca7bf.tar.bz2 |
scripts/checkpatch: Support codespell checking
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>
Message-ID: <20240105083848.267192-1-zhao1.liu@linux.intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/misc/stm32l4x5_exti.h')
0 files changed, 0 insertions, 0 deletions