Messages in this thread | | | Subject | Re: [PATCH v2] checkpatch: look for common misspellings | From | Joe Perches <> | Date | Thu, 11 Sep 2014 07:15:57 -0700 |
| |
On Thu, 2014-09-11 at 09:19 +0200, Geert Uytterhoeven wrote: > On Thu, Sep 11, 2014 at 12:52 AM, Andrew Morton > <akpm@linux-foundation.org> wrote: > > On Mon, 8 Sep 2014 11:15:24 -0700 Kees Cook <keescook@chromium.org> wrote: > >> Check for misspellings, based on Debian's lintian list. Several false > >> positives were removed, and several additional words added that were [] > > I have a feeling this is going to be a rat hole and that > > scripts/spelling.txt will grow to consume the planet. Oh well, whatev. > > What about making checkpatch use the codespell dictionay if codespell > is installed? > > Codespell is in Ubuntu 14.04LTS (but not in 12.04LTS).
I'm a little concerned about false positives if that's done, but it seems simple enough.
Maybe both of:
codespell: /usr/share/codespell/dictionary.txt lintian: /usr/share/lintian/data/spelling/corrections
| |