diff options
| author | Peter Ujfalusi <[email protected]> | 2021-11-08 18:33:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-09 10:02:50 -0800 |
| commit | 0ee3e7b8893eca232cb118cb4874324ebfe9f767 (patch) | |
| tree | 7d7f6e94d152f237846be228e70710d7d6be915b /tools/perf/scripts/python/sctop.py | |
| parent | 70a11659f590b6ac32e6260d5c64a3e83b1272d4 (diff) | |
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/[email protected]
Signed-off-by: Peter Ujfalusi <[email protected]>
Acked-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions