Re: [PATCH] checkpatch: use python3 to find codespell dictionary

From: Sagar Patel
Date: Wed Mar 09 2022 - 13:02:15 EST


On Tue, Mar 8, 2022 at 2:58 AM Péter Ujfalusi wrote:
> > In addition, when searching for the dictionary, do not check if the
> > codespell binary exists since codespell can be installed via a Python
> > package manager. In this case, a codespell binary is not exported in
> > $PATH, but a dictionary does exist.
>
> Installing codespell via pip will place the 'codespell' executable under
> the user's $HOME/.local/bin/ and it expects that it is in PATH:

Good point, I'll reword the commit message in v2.

> Having said that, the executable itself is not used by checkpatch.pl, so
>
> Reviewed-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx>

Thank you!

---Sagar Patel