Messages in this thread | | | Subject | Re: [PATCH] checkpatch: Add optional --codespell dictionary to find more typos | From | Joe Perches <> | Date | Thu, 05 Mar 2015 11:21:35 -0800 |
| |
On Thu, 2015-03-05 at 16:13 -0300, Lucas De Marchi wrote: > On Thu, Mar 5, 2015 at 3:52 PM, Joe Perches <joe@perches.com> wrote: > > If a codespell dictionary exists, use it if desired. > > default is off, maybe it could be turned on later. > > > > codespell's dictionary format allows multiple possible corrections, > > ignore that for now and only use the first suggestion. > > Most of them were particularly added to avoid wrong suggestions in > kernel code base (admittedly a long time ago)... > Wouldn't it be better to output the entire list of suggestions as > codespell the tool does?
If you want to write the code, be my guest.
> I'm not a perl guru, but couldn't we have a single option like > --codespell / --codespell=FILE ?
Not easily. There's no easy way to turn off codespell like that.
| |