Skip to content

Commit 7da6382

Browse files
committed
Tools: add the codespell support
1 parent 428342b commit 7da6382

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

tools/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ or
1616
astyle --project=tools/astyle.cfg -I -r 'module/*.cpp' 'module/*.h'
1717

1818

19+
codespell
20+
---------
21+
22+
https://github.com/codespell-project/codespell
23+
24+
Usage (from source root):
25+
26+
codespell --config tools/codespell.cfg
27+
28+
1929
Include-What-You-Use
2030
--------------------
2131

tools/codespell.cfg

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://github.com/codespell-project/codespell
2+
# codespell --config tools/codespell.cfg
3+
4+
[codespell]
5+
skip = ./3rdparty,./build,./doc,./examples,./lang
6+
ignore-words-list = doubleclick,diamon
7+
#exclude-file = ./tools/codespell_exclude.txt
8+
quiet-level = 3

0 commit comments

Comments
 (0)