From: Kevin Traynor Date: Wed, 20 Nov 2019 13:27:13 +0000 (+0000) Subject: doc: add codespell config in contributing guide X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=409a346a2e478e8143d150bc72e8bbcbc3ba235b;p=dpdk.git doc: add codespell config in contributing guide Document the config to use codespell with checkpatches.sh. Signed-off-by: Kevin Traynor --- diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 2140303464..2359328eea 100644 --- a/doc/guides/contributing/patches.rst +++ b/doc/guides/contributing/patches.rst @@ -407,8 +407,17 @@ This uses the Linux kernel development tool ``checkpatch.pl`` which can be obta updating the Linux kernel sources. The path to the original Linux script must be set in the environment variable ``DPDK_CHECKPATCH_PATH``. -This, and any other configuration variables required by the development tools, are loaded from the following -files, in order of preference:: + +Spell checking of commonly misspelled words +can be enabled by downloading the codespell dictionary:: + + https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary.txt + +The path to the downloaded ``dictionary.txt`` must be set +in the environment variable ``DPDK_CHECKPATCH_CODESPELL``. + +Environment variables required by the development tools, +are loaded from the following files, in order of preference:: .develconfig ~/.config/dpdk/devel.config