Peter Ujfalusi 0ee3e7b889 checkpatch: get default codespell dictionary path from package location
The standard location of dictionary.txt is under codespell's package, on
my machine atm (codespell 2.1, Artix Linux):

  /usr/lib/python3.9/site-packages/codespell_lib/data/dictionary.txt

Since we enable the codespell by default for SOF I have constant:

  No codespell typos will be found - file '/usr/share/codespell/dictionary.txt': No such file or directory

The patch proposes to try to fix up the path following the
recommendation found here:

  https://github.com/codespell-project/codespell/issues/1540

Link: https://lkml.kernel.org/r/29e25d1364c8ad7f7657cc0660f60c568074d438.camel@perches.com
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-09 10:02:50 -08:00
..
2017-03-28 16:16:52 +02:00
2021-09-03 15:33:47 -07:00
2021-07-15 22:31:10 +02:00
2021-04-26 08:38:10 -07:00
2020-10-22 13:13:57 -07:00
2021-09-03 15:33:47 -07:00
2021-02-26 09:41:05 -08:00
2021-05-02 00:43:35 +09:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2021-05-02 00:43:35 +09:00
2021-05-03 17:23:06 -06:00